I've just started using JavaScript and I am trying to validate that when someone is changing their password in the system that it is a certain length and also that it has been input in LowerCase.
I've got the length part to work by using the following:-
if(elmNewPwd1.value.length > 16){.......etc
if(elmNewPwd1.value.length < 8){........etc
Please can someone point me in the right direction for checking that the New Password has been input in lowercase.
Thanks in advance,
S.
I've got the length part to work by using the following:-
if(elmNewPwd1.value.length > 16){.......etc
if(elmNewPwd1.value.length < 8){........etc
Please can someone point me in the right direction for checking that the New Password has been input in lowercase.
Thanks in advance,
S.