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.
In the DateTime Field, Is There a Way to Disable All Dates Outside of a Specified Range?Asked by jewelryislove on August 08, 2015 at 03:26 PM
Hi, I wanted to restrict my form so that only the next 7 days can be chosen and all future dates after that disabled. Is this possible?
This is a re-post of a comment on How to Use the Date Limits Option
This is should be possible but there appears to be something buggy with the Disable Date Ranges feature. I'll shortly submit a ticket and the developer to whom it is assigned will get back to you once this is all sorted out.
Our apologies for any inconvenience caused.
My apologies. Upon consultation with a developer I realized that the feature is actually functioning correctly. To have all dates but the next seven (7) disabled, please do the following:
1. Un-check the Past box in the Past & Future field
2. Enter the following expression in the Disable Date Ranges field:
3. Save the settings
Please see the following screenshot:
(Since the DateTime tool doesn't go beyond the year 2100, today+32,000 is a sufficient boundary for the end of the disabled dates range.)
4. Save the form
The above settings are in effect in this jotform. If you need further assistance with this we'd be pleased to provide it.
Worked perfectly! Thanks so much for this.
You're quite welcome. Glad we could help.
I have moved your concern to a separate thread as we encourage our users to open up new threads for the new issues they have. You will be responded here in a timely manner.
Thank you for contacting us.