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
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
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
​
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
This topic is locked and no more replies can be posted.