Hi,
I have a PHP custom code which returns a value (S/N). His name is 'doks' and code is something like this:
I don't understand which data provider use inside my switcher, I tried {data:doks}, {var:doks} and {var:doks.returned} but it seems data switcher doesn't do anything.
Debugger says:
I have a PHP custom code which returns a value (S/N). His name is 'doks' and code is something like this:
...The code above works and returns 'N'. After that, I have a switcher which uses value return by PHP code to display a message or another one.
return DoksUserHelper::downloadDocument($this->data('codice_fiscale', ''));
I don't understand which data provider use inside my switcher, I tried {data:doks}, {var:doks} and {var:doks.returned} but it seems data switcher doesn't do anything.
Debugger says:
Array
(
[chronoform] => reset-password
[event] => submit
[codice_fiscale] => gfdgfdgfd
[secicon2] => 5abdfd98861ec
[button3] =>
[Itemid] => 128
[option] => com_chronoforms6
[view] => form
)
ArrayThanks in adavance
(
[check_secicon15] => Array
(
[_success] => The security image verification was successfull.
[var] => 1
)
[doks] => Array
(
[returned] => N
[var] => N
)
)