Is it possible to grey out one option within a dropdown?

  • Profile Image
    NCOGB
    Asked on July 09, 2015 at 05:20 AM

    I would like to grey out one option within a dropdown box.

    In this example the box allows users to select one of many venues, but one venue is now full. Rather than just deleting the option (which will cause people to think there is a problem with the form) I would like to grey out the option - the same as the "disabled" CSS code within regular HTML. Is this possible within JotForm?

    Thank you

    David

  • Profile Image
    Sammy
    Answered on July 09, 2015 at 06:35 AM

    At the present it is not possible to achieve the desired effect using the form builder, to do this you will have to download the full form source code and modify the HTML by adding the disabled attribute on the desired option.

    Another approach is to use he Gift widget to keep track of the selected venues, which decrements after each selection

     

  • Profile Image
    NCOGB
    Answered on July 09, 2015 at 06:47 AM

    Thank you Sammy. Please could I request that it be added to the features list?

    The gift widget is not an option for me as we have some flexibility on the numbers of places available, but thank you for the suggestion. I didn't know of it and it could well be useful in the future.

    Thanks again.