Forums

Confirmation mail depending on a form field

Tribal6 05 May, 2023
Hi
How can the sending of the confirmation mail to the user be made dependent on a field?
For example, with a checkbox 'sent mail copy to me' in the form itself?

Unfortunately, I haven't found anything about this in the documentation yet.

Thanks
Roger
Max_admin 05 May, 2023
Answer
Use the "Run conditions" behavior in the Email action, and in this case you must use an Email action inside an advanced form.

the condition will be something like this:
{data:checkbox_name} = 1
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Tribal6 08 May, 2023
Hi Max
Thank you.

But as I'm not a Chronoforms poweruser I need a little further assistance to find the right place for the condition.
I didn't found 'Run conditions' in the 'User Email' behavior:
https://prnt.sc/ouK30a3esBrN

But I've found one in the field/checkbox itself:
https://prnt.sc/IN5cZkC8vE_N

Is it the right place? What else is to do in order to switch on/off the 'User Email' behavior?

Thanks
Roger
Max_admin 08 May, 2023
No, you will need an "Email action", this can be added under the actions area, if your form is a "Contact form" then you will need to change the form type to "advanced form" first
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Tribal6 09 May, 2023
Hello Max

Thank you for your instruction, but unfortunately I can't find the place where I can enter an 'Email action'. There are no options possible in the 'action editor'.
Could you tell me step by step how to get there?
The form is of type 'advanced'.

Thanks in advance
Roger
Tribal6 23 May, 2023
Is there no one who can briefly explain to me where I can enter this 'Email acition'?
You need to login to be able to post a reply.