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

    Forms being submitted when pressing the Enter key

    Asked by kittycat513 on January 09, 2017 at 09:57 AM

    Hello,

    I'd like to create a text box option where you can add text and press enter to get to the next line.  However, when I test it out, it submits the form.  Also, in the past I have accidentally pressed enter and submitted the form.  Is there an option that allows you to submit the form only by clicking on the submit button (as opposed to being able to submit by pressing the "Enter" key)?

    Thanks!

    Cat

  • Profile Image
    JotForm Support

    Answered by Jan on January 09, 2017 at 11:25 AM

    You can prevent this from happening by requiring some fields. The form cannot be submitted if the required fields are blank. You can do this by selecting the field, and then clicking the "Required" button.

    You may also add a "Captcha" field above the Submit button. In this way, the form cannot be submitted if the Captcha field is blank.


    Related links: 
    https://www.jotform.com/blog/254-Should-You-Use-Required-Fields-on-Your-Form
    https://www.jotform.com/help/205-How-to-Add-a-CAPTCHA-field

    Hope that helps. Thank you.