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.

Hitting Enter default to "previous" instead of "finalize" button

  1. Hi, I'm trying to change the behavior triggered by hitting the keyboard's return key on the second (and final) page of a two-page form. That second page has a "previous" and a "finalize" button. Hitting return is currently interpreted as clicking the previous button, but I want it to be equivalent to clicking the "finalize" button. The previous button in that form is tabindex 7, the finalize button is tabindex 8. I've been reading posts on this forum related to tweaking the tabindices but didn't quite find a solution to this problem, or at least I wasn't able to implement it.

    Basically, I need to find a way to make it so that hitting the keyboard's return button will be interpreted by the form as the finalize button being clicked, instead of the previous button.

    Thank you for your help.

    Posted 8 years ago on Wednesday May 2, 2012 | Permalink