Buy Now
Sign in

Toggle Task Button based on array CC6

brianswanton@hotmail.com , December 29 2017
B
brianswanton@hotmail.com
Hi
I'm a complete amateur but thanks to chronoforms my colleagues think I'm an expert . I can get a task button to display content according to a switch function based on a non-array field value (thanks to your FAQ on this). However, when I supply the array, I just get the switch return for "0". "Handle data arrays" is toggled on in the switch function. I have searched the forum and can't find an answer. Any help greatly appreciated.

Thanks
Brian
Attachments
img1.jpg
img1.jpg
(99.1 KiB)
66 Downloads/Views
img2.jpg
img2.jpg
(99.14 KiB)
81 Downloads/Views
admin
Hi Brian,
A late reply here, if the provider of the switch is an array then the result returned is an array too, but you are trying to use this as content for the button.
Best regards
Max
If your main question got answered then please mark the answer using the button!​
​Please let us know if you have any problems with the new forums text editor, we appreciate your feedback!