Click to See Complete Forum and Search --> : Stop Disabling the Scripting in the browser


sathysudha
02-01-2003, 07:53 AM
Friends

I have written one function to check the user's input in the textarea field.
if its exceeded to 100 then i have to give a msg.
but the tricky people, what they doing is, they are simply disable the scripting in the browser.
and they are sending 1000 characters in the textarea.
can anyone help me in solving this problem.


Thanks

sathysudha
02-01-2003, 08:26 AM
I can't set the maxlength for textarea?

Vladdy
02-01-2003, 09:37 AM
Use onsubmit event to set the form action. Then if they disable JS the form never gets sent or gets sent to an "error" page.