Hi all,
I have a form through
ASP where users enter their home and mobile phone number.
For the other fields, I use the following script to get them to enter the details if they leave it blank:
if Request.Form("PostalCode") = "" then strErrorMessage = strErrorMessage & "<p>Please enter
your Postal Code.</p>"
How can I do it so that if both the home and mobile number is empty, it says 'Please enter one contact number' - otherwise if only one is filled in, it allows it to go through?!
All advice and help welcomed!
Thanks
Ben