Author: dotnetnoob | Posted on: 7/23/2010 5:29:47 PM | Views : 377

Hi All: I have a two-character field for US State. I add a RegularExpressionValidator control to validate the input using  
ValidationExpression="[a-zA-Z]{2}"which works to validate the content when something's entered, but it doesn't catch if someone just leaves the textbox blank.
Is there any way to validate within the same regex to catch an empty textbox?

 
 

...

Go to the complete details ...