i want the user to enter the password length of atleast 7 charaters.
so how to user any validators for that vs.net 2003 framwork 1.1 iam using
Use a regular expression validator with this regex (minimum 7 characters, maximum of 50):
[\w\s]{7,50}
Have a javascript function which will validate the length of textbox. If the textbox is less than 7 characters, alert a message. Check the length after trimming the length of the textbox.
Call this function inONBLUR event of textbox.
Why you don't use server web asp.netvalidating controls ...
0 comments:
Post a Comment