Tab Control on Hidden Input fields
When I have a hidden input field on my webpage and I use the tab key to traverse my fields, the cursor always moves to the hidden input field. This means that I have to press tab twice to move to the next visible field. Is there any way that I can skip the hidden input field when I am using the tab key?
Thanks, B
druagord posted this at 13:25 — 8th July 2003.
He has: 335 posts
Joined: May 2003
weird i never noticed this behavior and i use hidden input quit often. Are you using
<input type="hidden" ...>
or
<input type="text" style="visibility:hidden;">
however in javascript you can do
<input type="hidden" onfocus="document.myform.nextfield.focus()">
IF , ELSE , WHILE isn't that what life is all about
Renegade posted this at 22:27 — 8th July 2003.
He has: 3,022 posts
Joined: Oct 2002
Try putting the hidden fields right at the bottom, as long as they are withing the FORM tags then they will pass.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.