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

    DateTime Field Restricted Dates not working

    Asked by collegeplus on October 29, 2015 at 04:16 PM

    Hi, I have a form with asks for a date to be chosen. I have restricted the dates to be tomorrow or later only; that is, users can only pick a date which is LATER than today, and today cannot be chosen either.

    I noticed that some responses were coming in with the date selected being the same as the date of the submission, and thought it might have been a time-zone issue or something I couldn't replicate, but I just had a submission come in with a date in the PAST, and looked into things a bit more.

    It appears that if you enter the numbers in each of the 3 fields manually, without using the calendar pop-up, you can select any date whatsoever, even those restricted by the field's preferences.

    For example, if I use the calendar, I can only select tomorrow or later. All other dates have no effect when I click on them. However, if I were to enter 3 in the month field, 20 in the day field, then 2010 in the year field, it would not error out, and allow me to continue the form as normal.



  • Profile Image
    JotForm Support

    Answered by jonathan on October 29, 2015 at 07:46 PM

    Thank you for providing more details.

    I checked and test this on your jotform http://www.jotformpro.com/form/52256212718957 but I could not reproduce the issue.

    Check the image below when I did the test.


    Manually typing invalid dates still gets validated by the restricted date function on the DateTime field.

    Can you please retry again this time and check if issue still persist.

    If you can share to us image that shows the issue it will also help us check better where the issue could be.


  • Profile Image

    Answered by collegeplus on October 30, 2015 at 01:36 PM

    The issue is no longer occurring, but I had 2 submissions with dates in the past. What could have caused that?

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on October 30, 2015 at 05:57 PM

    The problem could have occurred due to a glitch caused by the recent DB maintenance. Please let us know should you need further assistance.