S
skardian
I am currently using the ChangePassword control for ASP.NET 2.0 to
allow users to update or change their password as need be. However I am
running into a problem with the Regular Expression Validation. I have
tried the following code:
ValidationExpression="[\w]{5,}"
ValidationExpression="[\w|\d]{5,}"
ValidationExpression="^[\w]{5,}$"
ValidationExpression="^[\w|\d]{5,}$"
ValidationExpression="\w{5,}"
But each time the validation check ends. I am entering a password that
is 9 characters long to test so I know it's not a length issue. So what
exactly am I missing as from my research on the subject one of those
above expressions should work for validating that the field is 5
characters or more.
-Steve
allow users to update or change their password as need be. However I am
running into a problem with the Regular Expression Validation. I have
tried the following code:
ValidationExpression="[\w]{5,}"
ValidationExpression="[\w|\d]{5,}"
ValidationExpression="^[\w]{5,}$"
ValidationExpression="^[\w|\d]{5,}$"
ValidationExpression="\w{5,}"
But each time the validation check ends. I am entering a password that
is 9 characters long to test so I know it's not a length issue. So what
exactly am I missing as from my research on the subject one of those
above expressions should work for validating that the field is 5
characters or more.
-Steve