Forum Moderators: open

Message Too Old, No Replies

Textarea - Limiting Input Characters

Can it be done? (Easily)

         

andmunn

3:07 pm on Mar 29, 2005 (gmt 0)

10+ Year Member



I have a simple text area box which users on my site fill out. I need it to be limited to users cannot enter more then 200 characters.

I've seen several sites do this, where they have a box, and as users enter more characters it counts down from 200 to zero. Once it reaches 0, users cannot enter anymore.

Can this be done "simply"? Or is it somethign more complicated?

Andrew.

PhraSEOlogy

3:13 pm on Mar 29, 2005 (gmt 0)

10+ Year Member



Andmunn,

Try googling this: javascript textarea limit input

You should find what you are looking for.

andmunn

3:36 pm on Mar 29, 2005 (gmt 0)

10+ Year Member



lessen learned :) seach google first - i searched WW - but no luck..thanks again, found exactly what i wanted.

Andrew.

PhraSEOlogy

4:28 pm on Mar 29, 2005 (gmt 0)

10+ Year Member



Andrew,

Glad to be of help.

P.S. I just happened to know about that javascript - I used it myself.