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

    Validation - how to check if 2 fields are equal

    Asked by Filip on January 24, 2012 at 11:48 AM

    On form submit I need to check if 2 form fields contain the same value e.g. "email" & "confirm email". I can't see such option in form builder.

    If it's not possible to achieve with current version can you tell me if JotForm uses internally any javascript validation library? I could change the generated form code to use it. I'm thinking about smth like that:

    <input type="email" name="q6_confirmYour" class="form-textbox validate[Email, SameAs[email]]" (...)>

  • Profile Image

    Answered by fxr on January 24, 2012 at 05:44 PM

    There is no option for email validation like that in the form builder. 

    Of course this type of validation would probably be relatively straightforward with some javascript, but as you know you would have to embed form source code to do that. 


    You are probably better routing questions that are related to your installation of JotForm to jotformsupport [at] gmail [dot] com to see Aytekin and the developers can offer any solutions for you. 

    Mark any correspondence with JotForm liciensing so that we are able to quickly identify what exactly the query is in relation to. 


  • Profile Image
    JotForm Support

    Answered by abajan on March 01, 2012 at 09:18 PM


    You'll be pleased to know that there's now an option available in the form builder to add a "Confirm Email" field. Please see emrew86's post here.