Hi
I have two checkboxes:
Name: yourselection[]
Values:
0=AAA
1=BBB
And I have following action:
Event switcher
Data provider: {data:yourselection}
Events:
0
1
In both switches I have custom code.
But no matter what checkbox I tick, switching is not working.
Having both custom codes outside of the switcher = custom code is shown = custom code is OK.
The debugger shows following if checkbox 0 is ticked:
[yourselection] => Array
(
[0] => 0
)
and for checkbox 1:
[yourselection] => Array
(
[0] => 1
)
So values are passed.
What do I have to change to make the event switcher to work with checkboxes?
Thanks a lot!
Patrick
I have two checkboxes:
Name: yourselection[]
Values:
0=AAA
1=BBB
And I have following action:
Event switcher
Data provider: {data:yourselection}
Events:
0
1
In both switches I have custom code.
But no matter what checkbox I tick, switching is not working.
Having both custom codes outside of the switcher = custom code is shown = custom code is OK.
The debugger shows following if checkbox 0 is ticked:
[yourselection] => Array
(
[0] => 0
)
and for checkbox 1:
[yourselection] => Array
(
[0] => 1
)
So values are passed.
What do I have to change to make the event switcher to work with checkboxes?
Thanks a lot!
Patrick