minimum password length

  • Thread starter Thread starter Jon Paal
  • Start date Start date
J

Jon Paal

how to set correct properties for minimum length of 6 characters ? The following doesn't work.

<asp:CreateUserWizard ID="CreateUserWizard1" runat="server"
PasswordRegularExpression='@\"(?=.{7,)(?=(.*\d){1,)(?=(.*\W){1,)'
PasswordRegularExpressionErrorMessage="Minimum password length is 6 characters"
InvalidPasswordErrorMessage="Password length minimum: {6}. <br />Non-alphanumeric characters required: {0}."
 
hi jon,
the regular expression contains syntax errors. the curly brackets are
opened but not closed (they are closed by normal brackets, but this doesn't
count).

hope this helps
itm
 
Back
Top