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.

How to tab through fields?

  1. mross
    Member

    Finding that the form is being submitted if someone presses 'enter' key to move to the next field and so we're getting incomplete forms. This is happening before they get to the 'submit' function.

    How can I change the form so that they tab through the form instead of using the enter key?

    Posted 11 years ago on Monday July 23, 2012 | Permalink
  2. This is intended browser behavior. Using the tab key is how a user tabs the form, using the enter key submits it. I'm not sure how disabling the enter key will teach your users that they should be using the tab key instead.

    Posted 11 years ago on Monday July 23, 2012 | Permalink
  3. I have had this usability problem in the past with certain user groups. When that happens, I make more fields required so when someone presses enter rather than tabbing through fields, the form validation fails and they have to submit more information. You won't be able to change their behavior, but you can prevent incomplete submissions by requiring more fields before accepting the submission.

    Posted 11 years ago on Monday July 23, 2012 | Permalink
  4. There are also many JavaScript solutions online for disabling the enter key in certain fields. It's almost always a bad idea to change default browser behavior, but it's been done before. Here is one such example of how to do it: http://www.dynamicdrive.com/dynamicindex16/disableenter.htm

    Posted 11 years ago on Monday July 23, 2012 | Permalink
  5. mross
    Member

    Thank you - appreciate your help.

    Posted 11 years ago on Monday July 23, 2012 | Permalink
  6. Certainly. Hope you can work something out.

    Posted 11 years ago on Monday July 23, 2012 | Permalink

This topic has been resolved and has been closed to new replies.