![]() |
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 |
Re: Making a better JavaScript Password Validation
I have found one that works to a minimum value but I found this link to a good password strength meter if you will.
http://codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/ Just wanted to see if I could get this working in x cart but nothing I do seems to work, can someone help please? Thanks, Jez |
Re: Making a better JavaScript Password Validation
|
All times are GMT -8. The time now is 11:24 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.