-
MobicardsAsked on October 5, 2022 at 2:30 PM
I want to create a form that would book food orders in advance that will have the these functions.
- Allow user to choose multiple dates in advance. (Example: Oct, 9 Oct 20, Nov 4 etc...)
- Cut off time for each booking date. (Example: one day before Oct 9, one day before Oct 20, etc..)
- Exclude past dates from date choices.
I have tried using the Date Picker widget but it does not allow me to pick multiple dates.
Pls advise. Thanks
Odi
-
Lesther JotForm SupportReplied on October 5, 2022 at 4:46 PM
Hello Mobicards,
Thanks for reaching out to Jotform Support. The Date Picker and Appointment Field won't allow selecting multiple fields at once. The user has to submit the form again to choose a different schedule.
Here's my sample form, you can clone it to have a copy and be able to view the entire setup. Here's our guide on How to Clone an Existing Form From a URL.
I've added another Date Picker field to detect the current date.
A Form Calculation widget to calculate the date difference.
Added a Show/Hide Field condition logic to Show the Paragraph field that contains the message that the Cut-off time is 1 day before the selected date. It will hide the rest of the field as well.
- To add the condition, click on the Settings tab and the Condition tab on the left.
- Select the Show/Hide Field Condition.
- Follow the conditional statement below.
Let us know if you have any other questions.
-
MobicardsReplied on October 7, 2022 at 10:40 AM
Perfect. Is it possible to refine cutoff based on time? Say for example 10am?
-
Durand_CReplied on October 7, 2022 at 11:20 AM
Hello Odi,
Thanks for getting back to us. Yes, it is possible to achieve that by turning the Time option ON. Let walk you through it:
- Click on the Gear icon
- Select the Time tab. And turn it ON
Let us know if you have any other questions.