LuigiX
12-18-2003, 02:47 AM
HI
I want to send the email form to the authorising manager selected in the dropdown box.
eg if Dave Corleone is selected, the form goes to DaveC@myco.com on submit
<option value="DaveC@myco.com">Dave Corleone</option>
Is this something pretty simply done in ASP?
Here's the code so far:
Cheers
Luigi
<html>
<head>
<title>Salary</title>
</head>
<body>
<form method="POST" action="--WEBBOT-SELF--" name="myForm">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE"
S-Email-Address="whoever_the_authorising_manager_is"
B-Email-Label-Fields="TRUE" S-Builtin-Fields -->
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="319">
<tr>
<td width="167">
<p align="right">Salary</td>
<td width="148"><input type="text" name="Salary" size="20"></td>
</tr>
<tr>
<td width="167">
<p align="right">Position</td>
<td width="148"><input type="text" name="Position" size="20"></td>
</tr>
<tr>
<td width="167">
<p align="right">Authorising Manager</td>
<td width="148"><select size="1" name="Authorising Manager">
<option selected value="JohnB@myco.com">John Bull</option>
<option value="DaveC@myco.com">Dave Corleone</option>
<option value="LuigiX@myco.com">Luigi Corleone</option>
</select></td>
</tr>
<tr>
<td width="167">
<p align="right">From</td>
<td width="148"><select size="1" name="From">
<option>Jill Black</option>
<option>Johnny Wilkinson</option>
<option>Joan Watson</option>
</select></td>
</tr>
</table>
</div>
<p> </p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
</body>
</html>
I want to send the email form to the authorising manager selected in the dropdown box.
eg if Dave Corleone is selected, the form goes to DaveC@myco.com on submit
<option value="DaveC@myco.com">Dave Corleone</option>
Is this something pretty simply done in ASP?
Here's the code so far:
Cheers
Luigi
<html>
<head>
<title>Salary</title>
</head>
<body>
<form method="POST" action="--WEBBOT-SELF--" name="myForm">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE"
S-Email-Address="whoever_the_authorising_manager_is"
B-Email-Label-Fields="TRUE" S-Builtin-Fields -->
<div align="left">
<table border="0" cellpadding="0" cellspacing="0" width="319">
<tr>
<td width="167">
<p align="right">Salary</td>
<td width="148"><input type="text" name="Salary" size="20"></td>
</tr>
<tr>
<td width="167">
<p align="right">Position</td>
<td width="148"><input type="text" name="Position" size="20"></td>
</tr>
<tr>
<td width="167">
<p align="right">Authorising Manager</td>
<td width="148"><select size="1" name="Authorising Manager">
<option selected value="JohnB@myco.com">John Bull</option>
<option value="DaveC@myco.com">Dave Corleone</option>
<option value="LuigiX@myco.com">Luigi Corleone</option>
</select></td>
</tr>
<tr>
<td width="167">
<p align="right">From</td>
<td width="148"><select size="1" name="From">
<option>Jill Black</option>
<option>Johnny Wilkinson</option>
<option>Joan Watson</option>
</select></td>
</tr>
</table>
</div>
<p> </p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
</body>
</html>