What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can I disable a value in the dropdown box based on date

    Asked by RichBitch on March 23, 2016 at 09:43 PM

    On my form I would like 'Christmas eve' and 'News Years eve' disabled in my dropdown unless 24.12.2016 or 31.12.2016 is input in the resevation date

    Maybe in conditions something like:

    if 'reservation date is not equal to 31st Dec or 24th Dec then hide or disable 'Christmas Eve' and.or 'New Years eve' from dropdown menu

    Does that make sense, sorry

    Page URL:
    https://form.jotformeu.com/60828068414357

    based on date dropdown box
  • Profile Image
    JotForm Support

    Answered by Boris on March 23, 2016 at 11:25 PM

    There is unfortunately no direct way to disable only some of the options from a Drop Down field - the conditions for disabling a field can only disable/enable an entire field, and not the individual options.

    Probably the best way to approach this would be to use two different Drop Down fields for the Reservation Date, and conditionally show one if Reservation Date is equal to Christmas or New Year, but show the other one if it is not equal neither to Christmas nor to New Year.

    http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    You can use a combination of show and hide actions in the same condition, so when the condition is met, one field is shown and the other is hidden. This will automatically mean that when the condition rule is not matched, the first field will be hidden, and the second one displayed.

    Please let us know if this could work to your satisfaction.

  • Profile Image

    Answered by RichBitch on March 31, 2016 at 03:49 PM

    Thank you for your help.