Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > minimum password length

Reply
Thread Tools

minimum password length

 
 
Jon Paal
Guest
Posts: n/a
 
      01-31-2007
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}."


 
Reply With Quote
 
 
 
 
Tim Mackey
Guest
Posts: n/a
 
      01-31-2007
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


"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message
news:(E-Mail Removed)...
> 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}."
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to check minimum length for a textbox field Abhishek Srivastava ASP .Net 3 03-10-2009 01:21 PM
Password length minimum: 7. Non-alphanumeric characters required. Yasin Cepeci ASP .Net Security 2 04-26-2007 10:11 PM
Password length minimum: 7. Non-alphanumeric characters required: 1. Yasin Cepeci ASP .Net 1 04-26-2007 05:09 PM
Minimum buffer length for Response.Flush? Matthias Straka ASP .Net 0 09-09-2004 05:12 PM
Any minimum Length for Single Mode? Bob Saccamano Cisco 5 05-03-2004 08:35 PM



Advertisments