Ultimate Character Counter | JavaScriptSource

Ultimate Character Counter

JavaScriptSource Staff Aug 21, 2006
This script limits the length of multiple form fields and updates the screen as information is entered. It can easily be added to an existing script.
textarea 1

0 characters entered.   |   20 characters remaining.

textbox 1

0 characters entered.   |   10 characters remaining.

textarea 2

0 characters entered.   |   50 characters remaining.

The JavaScript Source: Forms : Ultimate Character Counter

Simply click inside the window below, use your cursor to highlight the script, and copy [Control]+C the script into a new file in your text editor (such as Note Pad) and save [Control+S]. The script is yours!!!

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response


OK I entered a bunch of text in your box above and nothing worked. So why would I use code that doesn't work on the page as a demo?

Richard Przybylski Jul 14, 2014

Excellent code. Thank-You.

Arturo Jul 16, 2012

Excellent example script code. Thnx a ton...

Pradnya Mar 29, 2012