Handle arrays for emails in chonoforms6

ni 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 !
he healyhatman 03 Oct, 2018
Could always just do
​
<?php echo ($this->data("checkbox1", 0) ? "Ticked" : "Not Ticked"); ?>
Gr 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.