What is it you're trying to do exactly? You said "What I want is to send each form to a different adress. " Email notifications are tied to each form individually, so you can have notifications from each form sent to a unique email address. However, the email address does not change from entry to entry on the same form. Is there some piece of the puzzle I'm missing? Seems pretty straightforward, unless I am missing something. You should not need to add any code to your theme's functions.php if I understand correctly.
Additionally, you have this code in your theme's functions.php:
[php]
add_filter("gform_email_2", "change_email", 10, 2);
function change_email($label, $form_id){
return "sponsors@rawchinaexpo.com";
}
The gform_email filter is intended to change the label for the email field when your form is displayed to the visitor. Is that what you're trying to do?
We're going to need more details to be able to help you with this one. Please provide as much information as you can about what you would like to do. Thank you.
Posted 12 years ago on Friday August 17, 2012 |
Permalink