Forms being submitted when pressing the Enter key

  • kittycat513
    Asked on January 9, 2017 at 9: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

  • Jan
    Replied on January 9, 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.

    Forms being submitted when pressing the Enter key Image 1 Screenshot 30

    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.

    Forms being submitted when pressing the Enter key Image 2 Screenshot 41
    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.