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.
Date Picker conditions: Disable Mondays and Sundays as well as past datesAsked by drocmx on October 10, 2014 at 09:02 PM
Hello, I need to let my clients pick a date (from now until 15 December), but not being able to select PAST dates, only Tuesday to Saturday (ie not Sunday or Monday).
I see in the forums that this functionality is not yet available with the date picker / reservation widgets... but I see there is a way to make "conditions".
I am stuck with the conditions on how to do this... I am not sure with which condition to go with.
Any help would be appreciated...
date conditions date picker widget
only Tuesday to Saturday (ie not Sunday or Monday).
To do this you should get the data picker is date condition and match it against Monday and Sunday. I have also added a text field telling them that this is not an option if they select Monday or Sunday.
I need to let my clients pick a date (from now until 15 December)
Now we add another field for error message telling people that you do not allow dates after 15th of December.
not being able to select PAST dates
OK, so this can be done as well. This is how.
Right click on the data picker widget (or click on the gear wheel on the right) and select Show Properties option.
Now scroll down and select to disable past dates
And that is it :)
You can see it in action here: http://form.jotformpro.com/form/42832009921956
You can also clone it to your account for closer look by following these steps on how to Clone an Existing Form from a URL.
Do let us know if you have any further questions.