-
DMG_OperationsAsked on March 18, 2025 at 4:31 PM
Hi,
We have created a form called Guest Parking Request Form. There are two dates that were created using the date picker - a start date and an end date. We would like to make it so that when you select a date in the 'Start Date,' the 'End Date' is a maximum of 3 days after that current date. As an example, today is March 18th. If this was the start date, the maximum end date would be 3.21.2025. You could select 3.19 or 3.20, but anything beyond that would be blacked out. Are you able to assist me with this?
Page URL: https://form.jotform.com/250207012672142 -
Lorenz JotForm SupportReplied on March 18, 2025 at 9:24 PM
Hi DMG_Operations,
Thanks for reaching out to Jotform Support. I'll need a bit of time to look into this, and I'll be back as soon as I can.
Thanks for your patience and understanding, we appreciate it.
-
Lorenz JotForm SupportReplied on March 19, 2025 at 9:13 AM
Hi DMG_Operations,
To clarify, will the start date will always be the current date? If so, then let me walk you through on how to achieve this:
1. In Form Builder, select the Request End Date field, and click on its Gear icon.
2. In the right panel, go to the Limits tab.
3. Now, scroll down to the Start & End Date section.
4. Finally, set up the start date to today+1 and end date to today+2
-
JonathanReplied on March 19, 2025 at 1:15 PM
Hi Lorenz,
The start date would NOT always be the current date, unfortunately. The end date will just never be more than +3 from the date they originally select.
-
Dayron JotForm SupportReplied on March 19, 2025 at 2:48 PM
Hi DMG_Operations,
We can archive this with using Conditions Logic. We need first to add another Date Picker widget, and we will name it Calculate, let me show you how:
- In Form Builder, click on the Add Element menu on the left side of the page.
- Under the Widgets tab, drag and drop the Date Picker widget into your form, or just click on it to add.
After this, we can now add the conditions, let me show you how:
1. In Form Builder, in the orange navigation bar at the top of the page, click on the Settings.
2. In the menu on the left side of the page, click on Conditions, and then Add Condition.
Set up the conditions as you see below and click on Save:
For the Show/Hide Field:
And for the Update/Calculate Field, do this:
Check out the screencast below to see my results:
Give it a try and let us know if you need any help.
-
DMG_OperationsReplied on March 19, 2025 at 2:57 PM
This worked, thanks a ton!