Buy Now
Sign in

Output checkboxes values

thebatik , December 08 2018, 13:53
T
thebatik 23
December 08 2018, 13:53 #382068
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 7
December 08 2018, 22:45 #382071
 2
 Answer
Two ways.
{data.join[, ]:cr_checkboxes14}
Or
<?php echo implode(", ", $this->data("cr_checkboxes14, "")); ?>
Don't copy+paste code from the forums.
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
T
thebatik 23
December 09 2018, 09:56 #382075
Thanks so much, first way is the solution!