Forum Moderators: open
We use form mail to send a form from our representatives, the form needs to go back to the rep himself, his manager and the admin group.
we initially had
<input type=hidden name="recipient" value="admin@ourdomain.co.uk">
and selected a drop down box for the rep name, but as we wanted to send to multiple recipients on a per user basis I created a drop down box as so:
Rep Name:
<select name="recipient" id="recipient">
<option selected>Please Select</option>
<option value="email1,email2,groupemail">user1</option>
<option value="email3,email4,groupemail">user2</option>
</select>
The problem is the value of "recipient" isnt posted with the form so the email recipients do not know which rep it came from. Is there any way i can modify this to send the value option without having a seperate drop down box for rep name?
Please can you help?
In other words they know nothing!
Is there any way we can manipulate the code in some way to pick up the recipient entry and display somewhere else?
Many Thanks