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

    Prevent form submit when hitting Enter key

    Asked by dcampagna on September 14, 2016 at 12:25 PM

    As noted by others, I don't want to have every field required; some are optional. The some fields will be blank, and others will be filled. 

    This is really, really dumb. People naturally hit "Enter" and expect to get to the next line or field, not submit the form. In that case -- why even have a "Submit" button at all?

    How is adding a Javascript to the code "resolved"? It's a feature that your customers have been asking for for FOUR years. Why not implement it? And if you're saying you can't implement it, then why would we have confidence in your company going forward?

  • Profile Image
    JotForm Support

    Answered by Chriistian on September 14, 2016 at 12:39 PM

    Sorry for the inconvenience. As of now, the way to prevent form from submitting when hitting the Enter key is by adding the Javascript code. Some users also prefer to have the Enter key to submit there form. I will send a feature request ticket regarding this to our development team so they can add a setting where user can enable/disable enter key submission. We will inform you any updates to the feature request ticket here on this thread. 



  • Profile Image

    Answered by shawnracine on October 10, 2016 at 12:35 PM

    Please add me to the list. This is really an important function for our website. Enter/Return is a natural button for people to press while completing a form. Unfortunately it jumps down to the first "required field" and shows all the red flags throughout the form - drastically detracting from the look and feel of our form. 

    Thanks! shawn@superiorlandscape-irrigation.com
  • Profile Image
    JotForm Support

    Answered by Kevin_G on October 10, 2016 at 01:41 PM


    In order to properly escalate your feature request to our second level I have moved it to another link, you will find it here: https://www.jotform.com/answers/956244 

    We will be glad to assist you on that thread as soon as possible.