Mail Form CC option if radio button checked

liunx

Guest
Here it goes.<br />
<br />
There is a mail form that has radio buttons (i.e. "send me info on: A. B. C.). Form is mailed to <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --><br />
<br />
Is it possible to make a command to send a mail to <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> and put <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> on CC if one particular radio button option (C., for example) is checked on the form by a sender?<!--content-->typically<br />
this hsow you get this done<br />
<br />
formName.action = "MAILTO:[email protected]\?CC\="+valueOfRadioButtonEmailAddress;<br />
<br />
Hope this helps<br />
<br />
Khalid<!--content--><form method="post" action="/cgi-bin/mailer/mailer.pl"> <br />
<table><br />
<tr> <br />
<td><br />
<input type="radio" name="A" value="A">A.<br><br />
<input type="radio" name="B" value="B">B.<br><br />
<input type="radio" name="C" value="C">C.<br />
</td><br />
</tr><br />
<tr> <br />
<td><br />
<input type="hidden" name="ccto" value="[email protected]"><br />
<input type="hidden" name="subject" value="doe.com"><br />
<input type="hidden" name="receiver" value="[email protected]"><br />
<input type="hidden" name="thankyoupage" value="http://www.doe.com/thankyou.html"><br />
<input type="submit" value="Submit"><br />
<input type="reset" value="Reset"><br />
</td><br />
</tr><br />
</table><br />
</form><br />
<br />
What can I apply to this format?<!--content-->
 
Back
Top