A form question (Help ASAP)

by "Sunil Bahl" <sunilbahl(at)tigersden.i-p.com>

 Date:  Sun, 21 May 2000 13:10:46 +0800
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Dear Friends,

I am making a site for a company that has 9 offices. Now what my client wants is that when the form is filled one copy of it goes to him and another goes to the office, which is selected, from a drop down box in the form.

Does anyone know how this can be done????? The code for my form is as follows:

<form method=post action="/bin/formmail.pl">
<input type=hidden name="recipient" value="xyz(at)clientsdomain.com">
<input type=hidden name="subject" value="Contact Form">
<input type=hidden name="redirect" value="http://www.clientsdomain.com/thankyou.htm">

<b>Branch : </b>
<select name="branch" size=1>
<option selected value="branch">Select the branch you wish to contact</option>
<option value="Bombay">Bombay</option>
<option value="Calcutta">Calcutta</option>
<option value="Goa">Goa</option>
</select>

</form>

So what do I have to add to the above coding so that the mail gets directed to the necessary office plus a copy to the owner of the site????

Await your replies via e-mail.

Thanks in advance.

Best Wishes,
Sunil.

**********************************************************************
ICQ: 16174772

Webmaster of:

1. TIGER'S DEN : "THE WEB DESIGNERS HAVEN"
http://www.tigers-den.net

2. ROTARY INTERCAMBIO DE JÓVENES: "EL VIAJE A ARGENTINA"   
http://www.tigers-den/rotary

3. BAHL'S BUSINESS COMMUNICATIONS.COM
http://www.business-comm.com
**********************************************************************
-- 
_________________________________________________
Get your free email from http://tigersden.i-p.com
Do visit our main site http://www.tigers-den.net

powered by OutBlaze

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA