You can type in up to 100 words into this textarea.
Words remaining:

You can type in up to 100 characters, including spaces, into this textarea.
Characters remaining:


JavaScript Main page

You can use this script to limit the amount of input that someone enters on your forms.
This would basically act like the maxlimit attribute on the input tag.

You can limit the number of words (first example) or the number of characters (second example).
To change the maxlimit for each, just update the onKeyUp and onChange events in the textarea tag.

Published on