novacreative
Member
I have two form email plugins with conditions on each. The idea is to cover both alternatives of an either/or question in a form. I've used this technique before without issue.
The form question can either have a value of 10 or 11. Here are my conditions:
return '{fb_registration___user_type_raw}' == 11;
return '{fb_registration___user_type_raw}' == 10;
Either works perfectly by itself. It sends the email when the value is equal. It doesn't send it when it is not.
But when both email plugins are there, it sends both emails regardless of value. (And I'm checking the value with a placeholder in the message.)
Is this a bug or am I not allowed to use two email plugins with conditions?
The form question can either have a value of 10 or 11. Here are my conditions:
return '{fb_registration___user_type_raw}' == 11;
return '{fb_registration___user_type_raw}' == 10;
Either works perfectly by itself. It sends the email when the value is equal. It doesn't send it when it is not.
But when both email plugins are there, it sends both emails regardless of value. (And I'm checking the value with a placeholder in the message.)
Is this a bug or am I not allowed to use two email plugins with conditions?