Oct 15, 2013, 10:37 AM
[CLOSED] Password mask pattern min characters
Hi,
I am trying to set the minimum characters of a password field to 6.
And require letters and numbers.
I have taken an example from another thread - http://forums.ext.net/showthread.php?26487
It seems to be counting the number 1 as both a letter and a number. It will not accept "abcde".
Another problem with passwordmask is it shows an error if i type 3 characters the same (Repeating characters like "aaa").
Is there a way to remove that validation or maybe better to change how many characters triggers this validation to 4 or 5.
Thanks
Fergus
I am trying to set the minimum characters of a password field to 6.
And require letters and numbers.
I have taken an example from another thread - http://forums.ext.net/showthread.php?26487
<ext:TextField runat="server" ID="TextField1" FieldLabel="Password"
MsgTarget="Under" AllowBlank="false">
<Plugins>
<ext:PasswordMask ID="PasswordMask4" runat="server" Mode="ShowLast" StrictPassword="true"
Pattern="abcde1">
</ext:PasswordMask>
</Plugins>
</ext:TextField>
The problem is is that it is accepting "abcd1" even though that is 5 chars.It seems to be counting the number 1 as both a letter and a number. It will not accept "abcde".
Another problem with passwordmask is it shows an error if i type 3 characters the same (Repeating characters like "aaa").
Is there a way to remove that validation or maybe better to change how many characters triggers this validation to 4 or 5.
Thanks
Fergus
Last edited by Daniil; Oct 15, 2013 at 3:25 PM.
Reason: [CLOSED]