Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Return instead of Tab

Status
Not open for further replies.

tyrannus

MIS
Apr 6, 2006
115
US
I have an html form for a client that currently uses the tab key to manuver the input fields. My client would like to use the Return key to do this. Does anyone have any idea on how that would be done? I have never heard of such a thing.


Many thanks in advance
 
You would need to trap the return key in all the input boxes and create a custom javascript function that would jump to the next field on that. If that is an internal form where this person will be the only form user, you might consider that (and ask in forum216), if not you should convince the person that it is best not to interfere with the default behaviour of the form elements, because that's how users of the page will expect them to behave -- tab to go through the fields and return to submit it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top