How to Send a Notification for Selected Date on Short Notice?

  • pixiecat86
    Asked 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.

  • pixiecat86
    Replied on June 13, 2024 at 10:47 AM

    also, is there a way to enable this on the form, where a notification pops up to the user if they select a date within a few days from the current date?
  • Sheena JotForm Support
    Replied 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 Support
    Replied 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:

    1. Create a notification email you'd like to receive for the short notice.
    2. Add two date picker fields in your form and set the other field to the current date. Hide this field by default.How to Send a Notification for Selected Date on Short Notice? Image 1 Screenshot 40
    3. Add a form calculation widget and create a calculation for the difference between the two dates. Hide this field by default. How to Send a Notification for Selected Date on Short Notice? Image 2 Screenshot 51
    4. 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. How to Send a Notification for Selected Date on Short Notice? Image 3 Screenshot 62

    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.

 
Your Answer