How do you email a message depending on a value is selected
from a dropdown?
Thanks
Here is an exmaple.
if it is apple then email apple@apple.com
a message
subject: Apple ordered.
the message: you ordered an apple.
sort of like when you proceed to checkout in amazon. then an
email confirmation is sent tou you?
here is the example of the dropdown.
Apple
or
Oranges
or
Peaches
<FORM METHOD="POST" ACTION="nextpage.cfm">
<SELECT SIZE="1" NAME="Fruits">
<OPTION>Select an item</OPTION>
<OPTION VALUE="apples">Apples</OPTION>
<OPTION VALUE="oranges">Oranges</OPTION>
<OPTION VALUE="peaches">Peaches</OPTION>
</SELECT>
<INPUT TYPE="submit" VALUE="Submit Fruit">
</FORM>