Dynamic To: Field with other info?

samleaver 14 Nov, 2011
Hi,

I've got a form setup using a dynamic to: address, which works great, on the forms the addresses relate to countries eg:

<option value="sales@aemail.com">Australia</option>
<option value="sales@aemail.com">Austria</option>
<option value="sales@anotheremail.com">Azerbaijan</option>

The only problem is this only sends the email address through in the results, I would also like to include the country itself, maybe by commenting the country in the value or something?

Any ideas on how to get this to work?

Thanks for you help.

Sam
GreyHead 16 Nov, 2011
Hi Sam,

I would not put the emails into the form HTML as this exposes them to being scraped and spammed. If you set the country as the option value then you can look up the email address after the form is submitted. There are several threads here on doing this.

Bob
This topic is locked and no more replies can be posted.