Validation Question - Help
-
Okay so very easy to validate an email in ASP and also very easy to validate that someone enters between 6 and 30 characters but can someone help me in making sure that BOTH are checked in a Custom Validation perhaps. What I have for example:
I am sure it is something simple but just need to know. Right now all it is doing is just checking that the email is valid, but if nothing is on the field it checks nothing.
-
Okay so very easy to validate an email in ASP and also very easy to validate that someone enters between 6 and 30 characters but can someone help me in making sure that BOTH are checked in a Custom Validation perhaps. What I have for example:
I am sure it is something simple but just need to know. Right now all it is doing is just checking that the email is valid, but if nothing is on the field it checks nothing.
As found here: http://bytes.com/topic/asp-net/answers/623177-customvalidator-do-not-work-empty-fields[^] you should try the hint to set
ValidateEmptyText
[^] to true. Regards,— Manfred
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian