[thelist] ASP form question

aardvark roselli at earthlink.net
Tue Feb 11 16:12:02 CST 2003

> From: "Walter S. Hemingway" <walt at medianetwork.ws>
> I was wondering if anyone could help me with this one. I have a form
> that I need to have emailed to a different person according to the
> name chosen from a drop down list. I can find no resources to help me
> without. Would an if..else statement work? Anyone?

it is possible to just use the email address as the value of the
select menu options, allowing you to just capture it into your email

<select name="SendHim">
 <option value="foo at bar.com">Foo Bar</option>
 <option value="bar at foo.com">Bar Foo</option>

and then in your ASP (fake ASP object instantiation):

objAddRecipient = Request("SendHim")

my latest book project:
  Web Graphics for Non-Designers
  ISBN: 1904151159

More information about the thelist mailing list