-
pixiecat86Asked on June 13, 2024 at 10:44 AM
Hi, is there a way to put a flag or other notification on a submitted form that includes dates within a certain time period? I'd like to have our form flagged when someone is requesting dates that are short notice, within a few days from the current date.
Page URL: https://form.jotform.com/222626845301048 -
pixiecat86Replied on June 13, 2024 at 10:47 AM
-
Sheena JotForm SupportReplied on June 13, 2024 at 11:15 AM
Hello Dan,
Thanks for reaching out to Jotform Support. I understand what you’d like to do, but I’ll need a bit of time to work out a solution. I’ll get back to you shortly.
Thanks for your patience and understanding, we appreciate it.
-
Sheena JotForm SupportReplied on June 13, 2024 at 11:29 AM
Hi Dan,
You can receive an email if the date selected is a few days before the current date. Let me show you how to set that up:
- Create a notification email you'd like to receive for the short notice.
- Add two date picker fields in your form and set the other field to the current date. Hide this field by default.
- Add a form calculation widget and create a calculation for the difference between the two dates. Hide this field by default.
- Create a condition to send an email if the result of the form calculation widget is less then a specific number of days. In this example, I created a condition to send an email if the date selected is less than 3 days.
Now, you will receive an email if the date selected is only a few days from the current date. Here's my demo form. You can clone it in your account by following this guide. As for your other question, I've moved that to a new thread. You can check that out here.
Let us know if you need any other help.