PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

cancel submit when return

  1. Hi

    how do i disable the submit function when the user is entering data and pushes "return" rather than tab. I appreciate that this is more of a user thing, but it logical that after you have entered a field to push return.

    The form is then only submitted when the "SUBMIT" button is pushed



    Posted 10 years ago on Wednesday May 16, 2012 | Permalink
  2. Mark, as you stated above, this is largely a usability issue (i.e. the form will normally submit when you press enter, and client side validation should prevent incomplete or invalid entries) and tab should be used to move between fields. This is fairly standard I'd say on the good ol internet.

    You can disable form submit by hitting entry with some jQuery if you like. Here's a really good discussion of the issues involved:

    Posted 10 years ago on Sunday May 20, 2012 | Permalink