-
magicboundAsked on January 23, 2022 at 5:12 PM
-
John Support Team LeadReplied on January 23, 2022 at 5:50 PM
Unfortunately, it is not possible to dynamically set the start/end date in departure field. You can just add a condition to check if the date falls within the allowed date or not.
So to better illustrate, here's an example of how you can set it up:
1.) Add a form calculation widget to the form that determines the difference between the Arrival and Departure dates:
2.) Next, add a paragraph field that conveys a message if the selected Departure date is less than 15 days from the Arrival Date:
3.) Then use a condition to show the said paragraph field if the form calculation's value is less than 15. At the same time, hide the submit button so the user cannot submit it:
And that's it! Here's a demo form: https://form.jotform.com/220226905795056