I think this is a really quick question - and would appreciate any help...
I have the following simple form vaidation script on a [classic] ASP page:
alert('You must provide a subject.');
alert('You must provide a message.');
I want to add one more validation
at the beginning of the script,
just to slow down spam bots:
For the following input field:
<input type="text" name="foo" style="display: none;">
The validation should:
if [foo] equals "" contunue to the rest of the validation
if [foo] doesn't = "" redirect to [http://foo.com/page.asp]
Getting the script syntax right is driving me nuts -
can you help?
(obviously not a coder)