Quote:
Originally Posted by myfayt
Ran into a problem, if you try to type more at the end of it, it doesn't allow it, however if you put one up in say the middle, it allows it. Such as those 3's. It doesn't post after 222222222, but above it does.
|
Sorry, I do not understand what you are driving at.
If you reach the limit of 1000 characters (whether by typing or pasting) then no more characters can be added to the textarea. If you try to add another character at the end it will not allow it. If you add a character in the middle of the text (which amounts to an edit) then one character is removed from the end to compensate, still leaving 1000. OK?
There is no need to repeat the validation onsubmit. But of course the user can always disable Javascript so you must repeat the validation on the server.
I do hope we have reached the end of this topic now!