Forms being submitted when pressing the Enter key

  • Profile Image
    kittycat513
    Asked 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
    Jan
    Answered 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.