Mail Designer and checkbox values

Hallo.

I’m creating a pro form mail design to provide different attachment urls according to the value a user selects in a nestable card checkbox.

In the mail template the I receive the correct output for the field value, with comma separated strings whenever I select more than one checkbox.

But when use the if twig element to filter out unnecessary mail parts it looks like the value I’m checking is not there and the check fails.




@Daniele sorry to bother you but i noticed how low the activity is on this section of the board and i fear I will never receive an answer to such a simple question :smiling_face_with_tear:

a quick update:

it seems i can check values in a text field using the twig syntax, but not with the twig elements

The following works…

<p>{% if brx_brochure_selection == "catalogo-prodotti" %}cp{% elseif brx_brochure_selection == "brochure-lumi-nova" %}ln{% else %}both{% endif %}</p>