Results 1 to 2 of 2

Thread: need help with JavaScript

  1. #1
    Member frnkzks's Avatar
    Join Date
    Jun 2001
    Location
    Maryland
    Posts
    170

    need help with JavaScript

    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>

  2. #2
    Ultimate Member Baddog's Avatar
    Join Date
    Dec 2001
    Location
    In a Cat 6 Cable
    Posts
    2,571
    Improvise - Adapt - Overcome
    SafeSearch is off

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •