Function Switch in ChronoForms 7

Send emails to different addresses based on dropdown selection in ChronoForms 7.

Overview

The Function Switch element from CF6 is not available in CF7.
Use the "Check Conditions Before Processing" feature in the Data section of the email action. Add a condition like `{data:fieldname} = value` for each recipient.

Answered
ChronoForms v7
ro roman5527 11 Jan, 2022
Hi, im used function switch in ChronoForms 6 for sending emails to different adresses based on dropdown value .

But in chronoforms 7 i dont see function swith.

Where i fint it ? Or how i can switch sending emails to different adresses ?

thnaks
Co Colnem 11 Jan, 2022
Answer
H

You have to use "Check Conditions Before Processing" in Data Section like a switch element.
You can also include many elements on a Container Aera and use this check condition for the container.

Salute from France
ro roman5527 11 Jan, 2022
Hi, Colnem.
Thanks for your answer .

But i don know how set it .

I have field "prevadzka" : https://prnt.sc/26cjljq
when user select example value "bardejov" i want send email to bardejov@bardejov.sk
but when user select value "humenne" i want send email to mail humenne@humenne.sk

I see in action editor in email this Conditions : https://prnt.sc/26cjm64
but how i need set it .

can you help me ? thanks
Co Colnem 12 Jan, 2022
Hi

The choice of the user is in a data, named prevadzka

In element to send email (or in his container), in Data Section (at the bottom of the element in edition mode), you Add a New condition.
For your example {data:prevadzka} = bardejov
The element wil be executed only if the choice is bardejov.

Sorry for my english...
This topic is locked and no more replies can be posted.