Limiting Amount of characters in atextbox in ASP.

AFterlife

Regular
Joined
Dec 21, 2003
Messages
73
I need to limit the amount of characters that are able to be put in the textbox depending on what they pick.

I thought you could use textbox1.maxlength= the number here
But they doesnt work. Any ideas?
 
Don't yell at me if this doesn't make sense, I don't know ASP. Is there not a way to do this programatically as they edit the text? If not, is there a way to just throw in some javascript?
 
marble_eater is right, do some sort of javascript to count number of words either onkeydown or onblur, or check lenght on the server side.
 
Back
Top