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

    Is there still a way to prevent hitting enter/go submitting a form prematurely?

    Asked by Eccssummercare on April 19, 2016 at 11:55 AM

    With the new interface for most form settings, I can't find control on what pressing enter/clicking GO on mobile view does. Do I still have control over that?

    a Mobile settings find mobile view
  • Profile Image
    JotForm Support

    Answered by KadeJM on April 19, 2016 at 01:25 PM

    You seem to have two different issues going on here with your thread title compared to your provided details.

    Do you mean you want to change how the form submits for the go button as per how it was used with the older settings?

    Or did you mean that you just want to prevent the form from being submitted by accident in general such as if the enter key is pressed?

    We are in the process of updating a lot of features on our system so some of these features might still be undergoing further changes before being reapplied or it may have been moved.

    The original go button though in your case was for submitting on mobile devices.

    Is that what you are looking for perhaps?

  • Profile Image

    Answered by Eccssummercare on April 19, 2016 at 02:43 PM
    Yeah that picture is what I'm used to seeing with the GO button thing you
    highlighted. But I now see this (attached) when I open
    Preferences-->Advanced, and no such option is there.
    And yes, it's basically two different issues, one about GO button, and the
    other about Enter, but both are with a mind for preventing accidental
    incomplete submissions.
    ...
  • Profile Image
    JotForm Support

    Answered by KadeJM on April 19, 2016 at 03:58 PM

    Unfortunately, it looks like it may have been taken down for a bit which is likely due to the preference changes. If you'll allow me some time I'll try to get in touch with one of our developers to see if I can find out what is going on with it.

    As far as your main problem with this about preventing the accidental submission of your form via the enter key the best way to do that is with a script and the full source code of your form.

    You can try something like this Example:

    (1)This script would need to be added between the <Head></Head> of your page html:

    <SCRIPT LANGUAGE="javascript"> function testForEnter() { if (event.keyCode == 13) { event.cancelBubble = true; event.returnValue = false; } } </SCRIPT> 

     

    (2) Add this script in between the <Body></Body> of your page's html.

    <FORM id="YourForm" name="YourForm" method="GET" action="testSubmit.htm" style="background-color:orange"> <H2>YourForm: Stops form submission when user presses ENTER key.</H2> <INPUT id="textarea" name="textarea" onkeydown="testForEnter();"> <INPUT type="submit" value="Submit">