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

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

    Asked by Colin 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"

    restrict date restrict dates disable date disable dates
  • Profile Image
    JotForm Support

    Answered by Mike_T 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
    JotForm Founder

    Answered by aytekin 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

    Answered by freeclickinternet 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

    Answered by freeclickinternet 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

    Answered by freeclickinternet 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
    JotForm Support

    Answered by Welvin 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