passing value to formmail
Posted on 2009-07-02
Recently I have been asked to make a modification to the html form that calls it.
I use the id "recipient" on a select menu and depending the value selected from the drop down list, a specific person receives an email, like this:
<select name="recipient" id="recipient">
<option value="firstname.lastname@example.org">Luisville, TEST</option>
<option value="email@example.com">Jillville, TEST</option>
<option value="firstname.lastname@example.org">Heatherton, TEST</option>
my question is:
passing the email value according to the value selected is working for luis1, luis2, and luis3. How can I also pass the values that is actually selected by the user?
in this case: Luisville, TEST, Jillville, TEST, Heatherton, TEST
Thank you much for your help.