While I agree with the other answers, there is one more step. Always setup
server side validation because you cannot assume all browsers visiting your
site will run the client-side javascript supplied by Microsoft. In fact,
only IE and IE/Mac support their javascript in ASP.NET 1.x.
I've put together an article to educate users on validation. It discusses
setting up server side validation with examples and issues with client-side
validation.
www.aspalliance.com/699.
--- Peter Blum
www.PeterBlum.com
Email:
PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx
"Kivak Wolf" <Li**********@gmail.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
Hi,
Could someone give me a quick review of how to use the required field
Validator? I'm completely at a loss, and MSDN does not help one bit. =/
Basically all I want done is to make sure that the user enters some
text into a field called "txbName" and when they click on the submit
button, if they have not entered anything into the field, a Required
Field Validator will say "Invalid Name".
Thanks,
Kivak Wolf