[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limiting user data entering!!

If you mean entering text in a form text field, the MAXLENGHT= attribute
will do this.  Example:

<INPUT TYPE="text" NAME="textbox" MAXLENGTH="5">

-- Gordon

At 07:23 PM 2/23/96 -0800, you wrote:
>Hi ALL,
>  I need to avoid that user type more keys than a desired value. 
>A field with "lenght" 5 would accept just 5 typing, stoping at last
>letter. Does anybody know how can I do this?

This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.