ASP to choose between field 1 or field 2
Posted on 2007-12-05
Is there a way to ask a ASP script to grab an email from one field or another.
example: strform = request.form("email1") OR request.form("email2")
or maybe use an if command, but how?
if request.form("email1") = "" then use request.form("email2")
depending if section 2 or section 3 is filled, i only need one email address but it can only be from if email1 box is fill or email2 box. How can I write this?