Can someone create a little js script I can use on my signup page which limits the password field
to alphanumeric characters only (no special characters), and also limits the length of the password?
Ideally, if for example I want a limit of 6 characters for te password field and then user tries to enter
more than 6, then an alert box would appear telling him to re-enter because password is too long.
ANd, when he clicks OK button on alert box, the password fields hould be cleared.