I have a text area and set the max length as I was told to do with w3c but it’s not working. I can type for ever without the limit being inforced. I don’t know what I did wrong.
I think he refers to the max chars on a textfield. You can set the number of cols. If you would like to limit the number of characters you could use javascript:
donboe’s correct: textarea does not have a maxlength attribute, and you need to use Javascript to get that functionality.
I’ve written similar Javascript, but what I did was let the input be a text input with a maxlength attribute, and if JS was enabled, switch that over to a textarea and let JS limit the chars.