textarea design question
Im using a textbox to insert the text into an access database. The field in the database is set to "memo", and as far as I can see there isnt the same way of limiting the length of a memo filed as there is a text field.
(NB: I can limit it for a <input type="text" ... > but cant seem to for a <textarea> )
Nope, there is no native way of limiting a textarea's volume, only it's display size.
Originally Posted by RabbieBurns
What would you suggest?
Its the teachers who've requested this feature anyway so if they're gonna go disableing jave (im not sure many of them would even know how ;p) then they are just not going to know how much they have to type.
Ive actually made my text area the exact size of the allowed text to give them an idea of how much to type as well.
In conjunction with the existing, I would just use server-side validation to limit the length that is then sent to the database.
Agreed. You still need to enforce it at the destination anyway, because you can't trust the browser to play nicely in any circumstances.