"From" & "To" Date Validation

  • Profile Image
    Asked on November 03, 2018 at 05:56 AM


    On the form there is an Arrival Date & Departure Date - the Departure Date needs to be greater than the Arrival Date but I can't see a way of validating that within the form. Can you help please?

  • Profile Image
    Answered on November 03, 2018 at 09:21 AM


    You can validate the date by conditions. First add Text element under your date fields which will be shown if the date of departure is earlier than arrival date. Enter a warning text and go to it's advanced settings Hide it.

    1541251150Screen Shot 2018-11-03 at 16.1

    After you done that, add the condition below to check dates and show warning and hide submit button until user corrects the date.

    1541251243Screen Shot 2018-11-03 at 16.1

    This is the one that I do it, you can check the result https://form.jotform.com/83063325123952

    Let us know if that helps!

    For further assistance, don't hesitate to contact us. Best regards.

  • Profile Image
    Answered on November 03, 2018 at 03:16 PM

    That's great, thanks for your help