Click to See Complete Forum and Search --> : Limit size of Text area.


Fordman
12-13-2002, 04:24 PM
I'm trying to use the javeascript found on this site to limit the size of a textarea. I got it to work, but when I add buttons on my form to post the data to the database, it stops functioning. I want users to be able to enter comments (up to 1000 characters and no more), then press a button to update the fixed width database field.

any sugestions?

thanks

ShrineDesigns
12-13-2002, 06:58 PM
in JavaScript a text string can only contain no more than 255 characters
and i'm sure this rule applies to cgi as well