Forums

Toggle Task Button based on array CC6

BrianS 29 Dec, 2017
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
Max_admin 08 Feb, 2018
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, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.