Add an option to restrict (disable) specific dates on a DateTime field

  • Profile Image
    Colin
    Asked on September 12, 2014 at 02:10 PM

    IS there any way to restrict the date entry without ending the form?  I know i can say, if date is after X, then end the form and give them a link to try again.  but would be nice to have a message on screen saying "nope you can't select that date"

  • Profile Image
    Mike_T
    Answered on September 12, 2014 at 04:02 PM

    Thank you for contacting us.

    We do not have the restrict date option, but we can do something similar with conditional logic on form.

    For example, we can add a Text warning to the form.

    Then, use a 'Show / Hide a form field' condition to show that warning for specific dates. Also, we can hide the form Submit button for restricted dates in the same condition.

    I have attached a feature request ticket to this thread about a native implementation of the restrict date option. There is no ETA, but we will update this thread if we have any updates.

  • Profile Image
    aytekin
    Answered on September 14, 2014 at 09:04 AM

    If your goal is to not allow multiple people book the same dates you should also check out the Date Reservation Widget:

    http://widgets.jotform.com/app/date_reservation

     

  • Profile Image
    freeclickinternet
    Answered on May 22, 2015 at 07:31 AM

    I might be wrong, but I haven't managed to make this new feature (Limit Dates) work.

  • Profile Image
    freeclickinternet
    Answered on May 22, 2015 at 07:47 AM

    Not working, at least on my case:

          Disable Date Ranges

          1982-01-01>2015-07-01

    Not working, at least on my case:

          Start & End date      Start Date 1982-01-01
          End Date 2015-07-01

     

  • Profile Image
    freeclickinternet
    Answered on May 22, 2015 at 08:16 AM

     

    I can still select 28-05-2015. I understand that I should not be able to select any date before 01 June 2015 .

  • Profile Image
    Welvin
    Answered on May 22, 2015 at 10:02 AM

    For this form: http://www.jotformpro.com/form/51412816476961, you have 1982 in the Start Date. A different settings from your screenshot. Kindly re-check and change that:

    Thanks