What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Is it possible to prevent duplicacy between two fields?

    Asked by mongaakshay on July 15, 2016 at 01:39 PM



    Is it possible to somehow prevent duplicacy between two fields ?

    Meaning, if I have 2 fields, say 

    Primary Mobile Number 

    Secondary Mobile Number


    and I want to user to fill two different values and not same ?


    Can I achieve this, without actually submitting the form ?



    Also, if I want the user to fill two exactly same values like

    Email Address

    Reconfirm Email Address

    Here the user has to fill the same email address again. 


    How can both these be achieved through JotForm ?

  • Profile Image
    JotForm Support

    Answered by Kiran on July 15, 2016 at 02:02 PM

    In order to prevent duplicate fields for two different fields, you may use conditions to check the values. 

    Here I'm displaying a Text field as an error message and hiding Submit button to prevent the form to be submitted. Please note that the State option in the conditions wizard changes from field to field and "Is Equal To" is not available when the field type is a phone number field. However, you may use a Textbox field for a phone number.

    It is similar to check if the two fields are not matching. If you want to check the email address, the confirmation field is already available in the field properties. You may enable the Confirmation option from the Email field properties in order to display the confirmation field.

    Hope this information helps! Please get back to us if you need any further assistance. We will be happy to help.