| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Making a better JavaScript Password Validation | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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
__________________
Version 4.1.11 on Linux (Fedora) X-Cart Gold |
|||||||
#3
|
|||||||
|
|||||||
![]()
__________________
xcartmods.co.uk |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|