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

  • PinkIguana
    Asked on October 14, 2014 at 3: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.

    Thanks,
    Natasha

  • Mike_T Jotform Support
    Replied on October 14, 2014 at 4: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.

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

    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.