Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web Development
Expertise: Beginner
Mar 11, 1997

Why does a single text input field submit by Enter, but not more?

Question:
When my form has just one text box, I can submit it by pressing the Enter key, but not when there are more text boxes or other controls in the form.

Any ideas or explanations of this behavior would be appreciated!

Answer:
When my form has just one text box, I can submit it by pressing the Enter key, but not when there are more text boxes or other controls in The behavior you want can only happen when there is one text input field between the

tags. Other types of fields can be present (buttons, check-boxes, pop-up lists), but if there is more than one text input field, the user has to click the button.
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date