What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

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

    Asked by PinkIguana 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.

    Thanks,
    Natasha

    Page URL:
    http://form.jotformpro.com/form/42666815152962

    enter submission enter keypress enter event
  • Profile Image
    JotForm Support

    Answered by Mike_T 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.