ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Handle arrays for emails in chonoforms6

nitromedia 02 Oct, 2018
Hi !

I'm creating a custom email with the data of my form. When I use {data:checkbox1}, I have the value of the input instead of the value of the label. In Chronoform 5 we coud use "handle array" to show the label data.

But how it's done in Chronoforms 6 ?

Thanks !
healyhatman 03 Oct, 2018
Could always just do
<?php echo ($this->data("checkbox1", 0) ? "Ticked" : "Not Ticked"); ?>
GreyHead 03 Oct, 2018
1 Likes
Hi nitromedia,

I think that Handle Arrays has only ever converted an array of values to a string, it didn't replace the values with the labels.

Bob
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com