Re: (semi-newbie) form question
by "rudy limeback" <r937(at)interlog.com>
|
Date: |
Tue, 25 Apr 2000 22:39:09 -0400 |
To: |
"rcf" <dgtlboy(at)erols.com>, <hwg-techniques(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
> So how do I associate the selected value of the dropdown
> box with someone's email address,
hi randy
this part's easy
in the form, define your dropdown like this
<select name=emailrecipient>
<option value=Joe.Toronto(at)company.com>canada</option>
<option value=Fred.Chicago(at)company.com>amerika</option>
<option value=Raoul.Mexico(at)company.com>mexico</option>
</select>
> and then have the form results mailed to that person?
this part ain't so easy
you'll need a CGI program to receive the form submission, take the form
field values, stuff them into a mail message, and send it to the designated
recipient
for an example, see FormMail
http://www.worldwidemart.com/scripts/formmail.shtml ) which was written
for the unix operating system but has been ported to NT
i'm sure there are native NT solutions but i don't know of any (i'm not a
server type person, neither unix nor NT -- my ISP happens to offer FormMail
so i just use it)
_____________
rudy limeback
http://r937.com/
http://evolt.org/
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA