this is not related to my plugin, really.
Check this:
https://contactform7.com/selectable-recipient-with-pipes/
The only difference is that in some cases you would like to send emails to multiple recipients.
So you need to adapt the example to something like this:
[select your-recipient "Section_A|email_1@email.com,email_2@email.com"
"Section_B|email_3@example.com,email_4@email.com"
"Section_C|email_5@email.com"]
Then in the email tab just set the To: field to [your-recipient]
Oh, I apologize. I wasn’t sure if this would be handled via your add-on or the original plugin. But thank you for helping!
I will try your suggestion. THANKS!
Update, Your plugin actually plays a role to accomplish this.
Doing some reading, what I have to do is use Contact Form 7 to create the form layout.
Then I use Conditional Fields for Contact Form 7 to set groups based on which subject is selected.
Once I have the group activated based on the subject, then inside the group, I set my [mail-to] tag to change the email address I am sending to.
But here is where I am struggling some. I think I need to use the Hidden Field for Contact Form 7 plugin as well. But I am still working on the group staging to make sure I am correct.
One step at the time.
I think you are over-complicating things.
And your last example will not work if you are using the [mail-to] field multiple times, as all field names should be unique. So if you really want to do it this way, you need to create 4 groups [group-1] to [group-4] and put [mail-to-1] to [text mail-to-4 class:hidden] in each of them. then hide them with some css .hidden{display:none}
In the email field you can then write [group-1][mail-to-1][/group-1][group-2][mail-to-2][/group-2][group-3][mail-to-3][/group-3][group-4][mail-to-4][/group-4]
But as I said, there is a much simpler way, without using CF7CF