How can I disable the submit button so it will not activate when hitting enter?

  • Profile Image
    Asked on October 14, 2014 at 03:01 PM

    I need to disable the submit button from being activated when someone hits the "enter" button on their keyboard. I keep getting partially filled out forms because people keep hitting their "enter" button rather than their "tab" button. 

    I did see this same question posted on the forum but I want to fix this within Jotform not download it.


  • Profile Image
    Answered on October 14, 2014 at 04:43 PM

    I am afraid that we can not change the form submission behavior based on the enter keypress event, since this is a standard browser implementation and most probably it is used by many users.

    We can suggest marking the form fields as required, so that the form users will not be able to submit the blank fields by hitting enter.

    Alternatively, use a form source code with some custom javascript solution to change the enter behavior.

    Enter key press behaves like a Tab in Javascript

    Please feel free to contact us if you need any further assistance.