Hi,
I've got a problem to configure the Event Switcher.
I installed the component as it's written in ReadMe of ChronoForms v4 action event_switcher_gh.zip.
I created 3 events : event_a, event_b and event_c.
I wrotte the following code :
My probleme : I try to put a Redirect bloc in each event, but i can't. I only can before or after my Event Switcher. Do you know why ? I think i forgot something but i don't know what.
Regards,
Jonathan
I've got a problem to configure the Event Switcher.
I installed the component as it's written in ReadMe of ChronoForms v4 action event_switcher_gh.zip.
I created 3 events : event_a, event_b and event_c.
I wrotte the following code :
<?php
$result = $form->data['dropdown1']+$form->data['dropdown1'];
if ($result>=20)
return "event_c";
elseif ($result>=10)
return "event_b";
else
return "event_a";
?>
My probleme : I try to put a Redirect bloc in each event, but i can't. I only can before or after my Event Switcher. Do you know why ? I think i forgot something but i don't know what.
Regards,
Jonathan
Hi Jonathan,
My EventSwitcher [GH] action is for CFv4 - it won't work with CFv5. What exactly are you using?
Bob
My EventSwitcher [GH] action is for CFv4 - it won't work with CFv5. What exactly are you using?
Bob
I want to redirect the visitor tothe good page after his answer...
I thought it was possible with CFv5 and your EventSwitcher [GH] action😟
How can i do this please ?
I thought it was possible with CFv5 and your EventSwitcher [GH] action😟
How can i do this please ?
Hi Jonathan,
ChronoForms v5 has an Event Switcher action built in. It's in the Validation Events group.
Add the list of event names that you want to the Events box e.g. apple,pear,banana; save the action and re-open it to edit; click the Load Events button and add your code to return one of the event names.
Bob
ChronoForms v5 has an Event Switcher action built in. It's in the Validation Events group.
Add the list of event names that you want to the Events box e.g. apple,pear,banana; save the action and re-open it to edit; click the Load Events button and add your code to return one of the event names.
Bob
Ok finally i fixed my problem.
Sorry for disturbing.
Regards,
Jonathan😉
Sorry for disturbing.
Regards,
Jonathan😉
This topic is locked and no more replies can be posted.