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

    Invalid Email Address Passed Validation Rule?

    Asked by ianggjames on January 02, 2015 at 09:19 AM

    My form "Questionnaire - teachers' details - New & Update Forms" has the email address field defined as required, validated and confirmed - but I have just received an email notification where the email address was just "Kay Taylor"; so clearly not a valid email address.

    How can this happen?

    The JS on my webpage is:


          $('input_153_confirm').hint('Confirm Email');

          $('input_153').hint('ex: myname@example.com');

          $('input_154_confirm').hint('Confirm Email');

          $('input_154').hint('ex: myname@example.com');

          $('input_155_confirm').hint('Confirm Email');

          $('input_155').hint('ex: myname@example.com');



    and the Input coding is:

            <div id="cid_2" class="form-input">

             <input  onkeypress="return noenter()" type="email" class=" form-textbox validate[required, Email]" id="input_153" name="q153_email153" size="30" value="" />


              <input onkeypress="return noenter()" type="email" class="form-textbox validate[required, Email, Email_Confirm]" id="input_153_confirm" style="margin-top:8px;" size="30" />





    Page URL:

  • Profile Image
    JotForm Support

    Answered by Charlie on January 02, 2015 at 11:42 AM


    Upon checking the URL of the website you shared, which is http://www.bellydancer.org.uk/2008/teachers.html, I see that you have done a lot of changes and it displays differently from the original form which is http://www.jotformeu.com/form/43272453969364. Is it because you embed the form using its full source code? May I know how you embedded your form to your website?

    When checking the standalone link of your form, I see that the validation rule works as expected



    The Javascript you mentioned, is it something that you have hard coded or is it together with the full source code? You can see in the screenshot below how we add Validation rule in our fields.

    No need to add Javascripts or manually adding them up as this is already being placed in the form builder. If you are constantly editing your form and you are manually embedding the form using the source code, you will need to re-embed the code to your website every time you do changes in your form.

    I hope this helps. Let us know if you need more information on this.

    Thank you.

  • Profile Image

    Answered by ianggjames on January 20, 2015 at 09:56 AM
    Thanks Charlie

    Your response prompted me to check one by one each of the lines of code that I’d embedded; and I discovered that I’d corrupted the DIV statement preceding the email input boxes – which prevented them from linking to the javascript (which I do re-embed from the jotform source code whenever I make any changes to my webpage).

    All working now; thanks for your help.



  • Profile Image
    JotForm Support

    Answered by Charlie on January 20, 2015 at 10:04 AM

    Hi Ian,

    Thanks for updating us and I'm glad that you managed to find the problem with the code.

    If you need any assistance again or have other concerns, please do feel free to open up a new thread here in the forum.

    Best regards.