Forums

Function Switch in ChronoForms 7

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
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
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
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...
roman5527 12 Jan, 2022
Many Thanks Colnem . Its works.
You need to login to be able to post a reply.