Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic selection of form email recipient

Status
Not open for further replies.

mbthaz

Technical User
Aug 29, 2002
44
0
0
US
I have a form in which I want to select a form email recipient based on a combo box result in the form itself. Everytime I try to use some type of variable in the webbot statement however it fails. Can anyone help me get around this?

Thanks In Advance
 
Assuming the script that processes the email is looking for an email address in a field called recipient.

<select name=&quot;recipient&quot;>
<option value=&quot;you@yourdomain.com&quot;>Email You
<option value=&quot;me@mydomain.com&quot;>Email Me
<option value=&quot;him@hisdomain.com&quot;>Email Him
<option value=&quot;her@herdomain.com&quot;>This can read whatever
<option value=&quot;she@shedomain.com&quot;>It's the value that counts
</select>

DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
That's the gist of what I've done. Problem is I'm using frontpages default form handler, and it doesn't seem to accept variables in the <--webbot tag.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top