471,603 Members | 1,439 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,603 software developers and data experts.

how to go to the next field in form even if the user presses enter or the tab button

69
Hi all,
I have only been looking at php and html for the past week so i am preety new at these stuff. I made a form with some text boxes to get user input however, if i press enter it doesnt move focus from one textbox to another.Instead, it resets the page as if it is submitting it or something. I have a submit button and a reset button

Can someone please help me
Oct 30 '07 #1
2 1586
ak1dnar
1,584 Expert 1GB
Good to handle this at HTML forum. So I'll move it there from Php forum. Thanks.
Oct 30 '07 #2
drhowarddrfine
7,435 Expert 4TB
Another name for "return" is "enter". When you hit 'enter' the submit button is activated. Look into "tabindex" attribute for your tab issue.

(out of town till Friday)
Oct 31 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

13 posts views Thread by teddy.am | last post: by
4 posts views Thread by Vincent Yang | last post: by
3 posts views Thread by Hsg | last post: by
7 posts views Thread by Grant Merwitz | last post: by
4 posts views Thread by sameergn | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.