Buy Now
Sign in

Conditional Email content

D
dungsmile4242 1
April 23 2018 #377201
Hallo I need to make the content of the email partly depending on some checkboxes or radiobuttons.I
tried following in the email template, but the if condition seems not
to work. BTW the variable mitgliedwerden is a checkbox with a field
value 1. I also have a radiobutton condition which I need to use for
some part of the content
<table>
GreyHead 63.5
April 23 2018 #377212
Hi dungsmile4242,
The way I do this is to use a Custom Code action before the Email action to build the email template (or parts of it). If you save the HTML to say $form->data['email_body'] you can include that into the Email action.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
V
Vollover 11
May 03 2018 #377469
Hi There!
How can I edit the email in Choronform6? A cannot see the email code. In the email the fields order completely different than I set in form designer. How can I edit?
Vollover
GreyHead 63.5
May 03 2018 #377477
1
Hi Vollover,
You can edit the Email body in the Body box of the Email action - please see page 16 of the CFv6 manual.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
V
Vollover 11
May 04 2018 #377488
Hi GreyHead,
Thank you. Now I understand. I can completely personalised the email as in the previous Chronoform version. I just missed the autogenerated html from the "body" field.
Tamas