Form validation
Posted: Wed Sep 20, 2006 2:01 pm
Ok, at my work my boss is a MS fan, big time and she forces us to use bloody Frontpage. I have a form for a client and have tried using MS extensions and their stupid form properties to validate the text-area to only 300 characters, about 50 words. Only, it doesn't work worth crap. I have tested it several times and it has allowed me to write thousands of characters many times.
I have done simple form validation using the empty() code, but I need something like:
Now remember, the form isn't be sent with PHP so there are no variables to pass or anything. The text-area's name is "bio."
--
Greg
I have done simple form validation using the empty() code, but I need something like:
Code: Select all
if (comments == "# of characters") {
echo "sorry please try again";
}--
Greg