Conditions for start and end dates

  • Profile Image
    Asked on January 17, 2017 at 01:11 AM


    I have a form with two date fields "start" and "end" dates for a hotel booking form. I need to make sure that start date is always before the end date and that end date is always after the start date. If the statement is false, I need to either set the field empty so that user has to enter a new and correct date or auto calculate the field for the user. Which ever is the easiest to implement.

    I tried playing with the conditions settings but I cannot seem to figure it out. Do you have any ideas?

  • Profile Image
    Answered on January 17, 2017 at 04:08 AM


    Thank you for contacting us.

    You can not make empty field after the worked condition with our conditional logics. However, you can set a condition like if the user enters the fields wrong the submit button will hide and message that you are wrong will be shown.

    Just follow these steps:

    1. Add a Text field into your form at Basic Fields. Then, write your message.

    2. You must "Hide" this message default. Click properties icon and select "Hide Field".

    3. Select "Conditions" at the top of the page.

    4. Select "Show/Hide Field"

    5. Set the condition properties like this:

    Here is a result:

    Here is my Demo Form, you can clone it to your side:

    Please let us know if you need any questions or issue.