Validating fields based on the value of another field

  • davidgrayvideos
    Asked on September 5, 2016 at 2:36 PM

    Is it possible to create two text input boxes and have the user type the same info into the two boxes and have this data validated?

    e.g.

    I want a user to choose their own password and type it into box one and then confirm the password by typing it again in the second box. But I need jot form to validate that both the inputs match. (exactly like the email validation but with a text box instead of an email box).

    Is this possible?

  • Jan
    Replied on September 5, 2016 at 4:07 PM

    It is possible to validate a form field by using conditions. Please check this demo form: https://form.jotform.me/62486447598474. Feel free to clone it if you like.

    Here's a guide how I created this demo form:

    1. I inserted 2 text box fields and a text fields.

    Validating fields based on the value of another field Image 1 Screenshot 40

    2. Set a condition wherein if the Validation Name is equal to the Name field, then the text field "Validated" will appear. I used the Show/Hide Field condition.

    Validating fields based on the value of another field Image 2 Screenshot 51

    Here's the result:

    Validating fields based on the value of another field Image 3 Screenshot 62

    Related guide: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    Hope that helps. Thank you.