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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modify Tab Order/Focus?

Status
Not open for further replies.

scripter73

Programmer
Apr 18, 2001
421
US
Hi,

I have a little form that lets user fill out personal info, like First Name, Phone Number, etc. I also have a checkbox for the user.

I'm not sure if this can be done in Javascript or HTML. Is there a way to change the default tab order? My goal is to allow the user to tab through all of the text fields and then hit the checkbox. In other words, I want the following field tab order:


First
M.I.
Last
Street Address
City
State
Zip
Home Phone fields
Work phone fields
Checkbox last


If you need to look at the form, its at
Thanks in advance for your help.

scripter73
 
Solved my own problem! :)

If you use the attribute TAGORDER=&quot;n&quot; in your tags like <input> then you can control the tab order.

Hope this helps someone.

scripter73
 
Thanks for posting the answer you found. That could come in handy.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top