I have a form that people are going to be filling out online. I am using
JavaScript on the front-end to validate the form. However, for security
sake and for my own knowledge, I would like to know how to limit the length
of form submissions on my server validation sequence. I don't want to cut
the field off and accept incomplete information. I want to let the user
know that their submission is too long (i.e. it must be less than).
if ($FORM{'field'} is less than 25 characters) {
subroutine("Please limit your response to less than 25 characters.");
} elsif ...
Thanks,
Andrew
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]