Forums

Output checkboxes values

thebatik 08 Dec, 2018
Hi,
I have a checkboxes group to multiple choices.
In email template I use - {data:cr_checkboxes14[]}

When I received email I see like this: ["Ads on vechile","Indoor Ads"]

How I can output values without any signs, like this: Ads on vechile, Indoor Ads ?

Thanks
Yury
healyhatman 08 Dec, 2018
Answer
2 Likes
Two ways.
{data.join[, ]:cr_checkboxes14}
Or
<?php echo implode(", ", $this->data("cr_checkboxes14, "")); ?>


Don't copy+paste code from the forums.
thebatik 09 Dec, 2018
Thanks so much, first way is the solution!
This topic is locked and no more replies can be posted.