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.
Trying to lock down or restrict a form if the date is within five days of the current dateAsked by poolmanagementgroup on May 27, 2016 at 07:13 PM
I saw this post and it's close to what we want to do: https://www.jotform.com/answers/458036-Restricting-Dates-to-input
The difference is, we would like to restrict the party form if it's within say five days of the current date. All I'm finding is ways to make it work for a specific date, but we need ours for the current date so it will keep working all summer. Any help is greatly appreciated.
lock OR current
If I understand you correctly, you want to prevent your users from selecting a date that is 5 days or less from today. So they will be able to enter only a date that is at least 6 days from today.
Yes, this is possible. On the DateTime field where your users are selecting a date, please simply set up a date limit:
In the Limit Dates feature of a DateTime field, simply enter the following as the "Start Date" of the limit:
Upon doing that, the DateTime field will only allow them to select any date which is 5 days or more from today. As today is Saturday 2016-05-28, with the above date limit, the DateTime field would not allow selection of any date date before Thursday 2016-06-02:
If you need further assistance, please let us know.