How to restric form submission on click of ENTER key?

  • OBEAforms
    Asked on May 27, 2015 at 8:33 PM

    Whenever the enter key is used after a field the form is automatically submitted.  How do I avoid that and only have the form be submitted using the submit button?

  • Ashwin JotForm Support
    Replied on May 28, 2015 at 12:18 AM

    Hello OBEAforms,

    Actually that is the standard behavior of any online form. Unfortunately it is not possible to change this behavior in our editor.

    I did check your form and found that you do not have any required field in form yet. One possible solution to solve your problem is to mark some of your form fields as "Required". This will prevent form from being submitted as it will trigger validation error.

    Please check the screenshot below on how to mark as question as required field:

    How to restric form submission on click of ENTER key? Image 1 Screenshot 20

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!