Hi,
I am looking for a solution to send an email to different addresses based on the choice of a dropdown.
I saw this article, although there is now CF7 in it:
https://www.chronoengine.com/faqs/chronoforms/cfv4/cfv4-emails/how-can-i-send-an-email-to-different-addresses
I can't search the forums as there is no search box.
Please let me know.
you should use {data:email_field_name} in the Email action "To or Recipients" setting!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Thank you for your answer, however, I don't understand.
I have a drop-down with two selections.
I would like if the visitor chooses selection 1, the form to be sent to a specific email address,
and if the visitor decides selection 2, the form will be sent to another email address.
How would adding this {data:email_field_name} achieve this?
Should I add this to the field under Settings/Admin Email/Recipients?
I too need a step by step on this topic.
I realize that it would be an ACTION in the last page of the form.
So you set-up an email ACTION. The recipient is based on the drop-down or radio field choice of the user. In my case it would be: {data:field_radios_28}
My radio field has 9 choices. Each choice goes to a different email address.
Then you need to set-up VARIABLES and CONDITIONS.
So if the radio button choices are values 1 through 9 and if the email addresses are addy1email.com through addy9email.com how do I write:
Variable name
Variable value
AND
Condition 1
Value 1 and == Value 2
Condition 2
Value 1 and == Value 2
If someone in very simple terms could help with this I could get all of my forms done finally.
Thank you in advance for any and all help.
Best regards,
Donna
Dropdown > Behaviors > Data > Alternative Data
Data Scope > Email Settings
set an alternative value for any dropdown value, so you may set admin@domain.com for "value1" for example, then use {data:dropdown_field_name} in your Email "To", and that will send the email to admin@domain.com when "value1" is selected!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin,
I will try this again. Apparently my first attempt did not work.
I will let you know.
Best regards and Happy New Year!
Donna
Max_Admin,
When I go to Actions, select Email and add the Drop-down field as my recipient, then go to behaviors and data; there is NO option for Alternative Data.
Please explain. I tried Run Conditions and that did not work.
Donna
Max,
I am still waiting on an answer on how to get switches working in CF7. In my Drop-Down field, there are nine values that equal different email addresses that are NOT domain addresses.
I did find where to put alternative data, but it will not send the emails.
Please, would you answer this issue!!
Donna
Did you set the data scope to email settings?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin
Yes I did. The email addresses are NOT domain addresses. Is this causing the issue for it not to work?
Best regards,
Donna
What do you mean by “not domain addresses “ ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin,
The alternate data for sending emails are gmail addresses, yahoo addresses, etc. They are not website email addresses.
Thank you,
Donna