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

Required Field Validator Posting with 1 field Only

Status
Not open for further replies.

RoadRacer

Programmer
Dec 18, 2000
61
US
Has anyone else had this problem? I have a page with only 1 field and it is required (Application number). If the user clicks on the submit button it works perfectly. Meaning, it validates on the client first and doesn't post if the field is empty. But if I just type the App Number and hit enter, it makes a roundtrip to the server with what seems like a blank post and most importantly, never executes the click event in the submit button.

Now here's where it is wierd ... if I add a second textbox, it doesn't matter what type or anything, just another text box, the validation works as it should. Hitting enter on either of the text boxes does not make the round trip to the server when the required field is empty.

Very annoying ... anyone run into this?

Ed (RoadRacer) Holguin

"I Hate Computers!"
 
Great, just after I post this message (and spending the better part of my morning researching this) I FINALLY come across a blog that discusses this. It is a bug in IE I am relieved to find out! =)


read up and it should help anyone with this situation.

Ed (RoadRacer) Holguin

"I Hate Computers!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top