Is it possible to apply conditions with date fields?

  • craftlabph
    Asked on July 2, 2017 at 11:48 AM

    Hello,

    1. Is it possible to prompt as error if the chosen [Celebration Date], [Event Date] and [Wedding Date] in my form is before the chosen Deadline Date.

    2. Also, I would like the RSVP Date to be condition as 4 weeks before the chosen [Celebration Date], [Event Date] and [Wedding Date] in my form.

     

    Thanks!

  • Mike_G JotForm Support
    Replied on July 2, 2017 at 3:10 PM

    1. Is it possible to prompt as error if the chosen [Celebration Date], [Event Date] and [Wedding Date] in my form is before the chosen Deadline Date.

    Yes, this is possible.

    You can conditionally show an error message that is created using a Text field in your form if the date selected for the Celebration, Event, or Wedding Date field is before the date set in the Deadline Date field.

    2. Also, I would like the RSVP Date to be condition as 4 weeks before the chosen [Celebration Date], [Event Date] and [Wedding Date] in my form.

    This is also possible. You can create a condition for each Celebration, Event, and Wedding date field in your form similar to the condition shown in the image below.

    Is it possible to apply conditions with date fields? Image 1 Screenshot 20

    We subtract 28 days (4 weeks) from the selected date.

    I have created a sample form for you and I suggest you clone it to your account so you can inspect it better.

    https://form.jotformpro.com/71825146096965

    If you have other questions or concerns, please feel free to contact us again anytime.

  • craftlabph
    Replied on July 3, 2017 at 12:11 AM

    It worked! Thanks Mike_G! :)

  • WilliamR
    Replied on July 3, 2017 at 1:38 AM

    On behalf of my colleague, you are most welcome. Should you have any other concerns, feel free to contact us anytime.