i’m making a site for someone who has an existing form which works quite well. This is great for me as I don’t know javascript or php! However, he wants some changes & I don’t know how to do them.
He wants it so when the user selects from a ‘delivery destination’ dropdown menu, the country chosen is associated with a particular email address the query will go to.
As well as this, the email that is delivered needs to have a different title, such as ‘US Quote’ (it’s a global printing business).
An excerpt from what I have looks like this (on the form.htm, the select name=”{$recipientField}”) :
$recipientField=”Country”;
$recipients[“Australia”] = “
$recipients[“US”] = “
if( array_key_exists($recipientField, $_POST) ) {
$value = $HTTP_POST_VARS[$recipientField];
if( array_key_exists($value, $recipients) ) {
$recipient = $recipients[$value];
}
}
I would be grateful for any help!
K