Login Register

best way to remap enter keypress to tab?

I'm trying to set up a copy of a MS Access application an employee at my company uses. Unlike the standard tab between fields, and enter to submit the form process, this screen, as programmed in Access Basic uses the enter key to go between fields, until the focus is over the submit button, when hitting the enter key submits the form data.

I tried to emulate this with the connect functionality and tie it to the widget ids. This seemed to work fine for my 1.1.1 install of dojo and FF 3, however, when I added more than one widget (input element), I noticed that both of them were fireing their bound event callback functions. This forced me to rip out the connect functionality in my design and to fallback to declaritively put the function bindings on the HTML. Does anyone have any example source that accomplishes this task for the 1.1.1 release?

Thanks