no more than 8 characters

Results 1 to 3 of 3

Thread: no more than 8 characters

  1. #1
    Join Date
    Dec 1969

    Default no more than 8 characters

    hi <BR><BR>is there a way (if so how)i can test to a password field to be not more than ,say ,8 character???<BR><BR>If it is more than 8 characters, without going to next page it should give an alert. is it possible to do it??<BR><BR>would be really appereciated if you can help.<BR>thanks<BR>

  2. #2
    Join Date
    Dec 1969

    Default Plain HTML.

    Use the MAXLENGTH attribute on your &#060;input&#062;.<BR><BR>Or, heck - if you don&#039;t want to do to that, just use JavaScript to check the length.

  3. #3
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Easy

    if (FieldName.length &#062; 8){<BR>alert(&#039;you are a moron&#039;)<BR>}

Posting Permissions

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