//flex table opened by JP

Click to See Complete Forum and Search --> : need help with JavaScript


frnkzks
09-09-2005, 10:21 AM
I am trying to write a JavaScript that checks (and prompts the user, if the password is invalid) that the password length is between 4 to 10 characters, and the password contains only numbers and characters.

Please help!

<form action="" method="post">
<table border="1" bgcolor="#efefef" width="100%">
<tr>
<td align="right">Password:</td>
<td><input type="password" name="password" size="50" maxLength="10"> <font

size="-1" color="red">Password length must be 4 to 10 characters</font></td>
</tr>
</table>
</form>

Baddog
09-10-2005, 11:45 AM
http://www.jsmadeeasy.com/javascripts/Password%20Protection/list_test.asp
:t