Drop down emails

How to send form submissions to different email addresses based on a dropdown selection.

Overview

The issue occurs when a form needs to route emails to specific recipients depending on a user's choice, but the email address is not dynamically changing with the selection.
Create a dropdown field with your location options. Then, use the Alternative Data behavior in the Email action to map the selected value to the correct recipient email address.

Answered
ChronoForms v7
Hi, everyone, sorry for may bad english, i have purchase chronoform 7 and i'd like to have a switch botton where i can send in different email recipients or choose where to send it also in the form, example i am a citizien of : open the dropdown and i can choose from boston or new york, so if i take boston when i submit the button the email arrive to boston department , thank you for help me i have noticied the other topic but don't find the right solution.
Max_admin Max_admin 27 Nov, 2020
Answer
The simplest way:
dropdown with options like this:

value:boston@dep.com Text:Boston
value:ny@dep.com Text:NY

the advanced way:
value:boston Text:Boston

Then you need to use the "Alternative data" behavior to change the data of the "Email settings", that's the more secure way to protect the emails addresses!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.