- vcmimediaAsked on February 13, 2015 at 08:03 AM
I'm creating a form that requires the user to request services. But they MUST make their request no less than 45 prior to the requested services. Is there a feature that is already programmed in jotforms That will reject a date placed in the field less than 45 days?
It's the "date of the event" field.
Thanks very much,
- BenAnswered on February 13, 2015 at 10:32 AM
To do that Kim, you would need 2 date fields, which I see that you already have.
Now basically if we take the one field that your visitors / clients would set and take away from it the current date, we will get the number of days that are between the two and can set the conditions based on that.
To do this, I have added one Form Calculation widget to your jotform and set it like so:
I have also set the conditions to show the notice that days must be longer apart and to hide the continue to next page button, based on this field.
I left the Form Calculation field shown on the jotform, but you can hide it as well - I only left it so that you can see it in action.
This is the jotform that you can see the above mentioned: http://form.jotformpro.com/form/50433665749968