rd0611
Forum Replies Created
-
I got my reply
https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-send-the-form-to-different-email-addresses-based-on-the-selection/I have changed the code.
ThanksFollowing form worked
https://conditional-fields-cf7.bdwm.be/docs/faq/can-i-send-the-form-to-different-email-addresses-based-on-the-selection/Thanks a lot
With the code you suggested, If I do not use any plugin, I can only get details of email addresses. However, I need name of groups as well.
Do you know any php code that I can embed in page instead of using plugin?Hi Yordan,
Thank you for your kind suggestion. I have tried following code
<label> Select Grow Group to send Message
[select* group_name “Group-A” “Group-B” “Group-C”]</label>[group Grp-A]
[select* group_email “Person_Name1 | [email protected]”] [/group][group Grp-B]
[select* group_email “Person_Name2 | [email protected]”] [/group][group Grp-C]
[select* group_email “Person_Name3 | [email protected]”] [/group]With conditions that,
Group “Grp-A” is selected if group_name equals “Group-A”
Group “Grp-B” is selected if group_name equals “Group-B”
Group “Grp-C” is selected if group_name equals “Group-C”This code is working and I am getting name of group from group_name.
Since I have used [group_email] for all 3 groups so that I can send email to selected groups by putting under Mail To [groups_name] in Contact 7 form, I am only getting email address of Grp-C no matter if I select Group-A or Group-B or Group-C.
My requirement is that, while sending email to people in different groups, I should get the name of group and get to know email addresses according the selected groups.
I there any conditions or any Php code I can use to make this happen?
Thanks
- This reply was modified 3 years, 10 months ago by rd0611.