Making a better JavaScript Password Validation
I am really struggling with this.
I would like to make a much better JavaScript form validation for our register form.
Its quite paramount this works really for the password.
But I would like to limit users from entering anything more than characters and numbers like:
0-9 and A-Z (lower or uppercase)
When a user tries to enter a password in the password field, is it possible to make it so when they exit that field, if they have entered a - sign then it goes red?
Could someone list some code (JavaScript) that would make this work?
Would then make it more intuitive as to what is right, obviously guiding them as to what is legit as a password for our form.
Regards,
Jeremy
__________________
Version 4.1.11 on Linux (Fedora)
X-Cart Gold
|