Forums

Event switcher do not permit load custom code

vivora66 03 Feb, 2016
Hello

I have inserted an Event switcher to my form
The code on the event switcher works well but I have a trouble when it return to on fail or to on success
When I return to on fail when a validation occur, I placed an Event loop, inside onfail and worm reloads well.
but when I return to On Success I placed a debugger, a display message and a Custom Code inside On Success .
When on success occurs the message is displayed, the debugger is deployed, but the PHP inside the custom code do not load, I placed some controls and some PHP code inside that custom code, but the code do not execute, is like
GreyHead 04 Feb, 2016
Hi vivora66,

The most likely explanation is that there is a typo in your Custom PHP.

Bob
vivora66 04 Feb, 2016
Hello

to avoid that i used a test php code

<?php
echo "TEST 1 >";
?>

If you see my test code just print TEST 1 on the screen

but do not work, is like the PHP is bypassed by the form
GreyHead 04 Feb, 2016
Hi vivora66,

Please take a Form Backup using the icon in the Forms Manager and post it here and I'll take a closer look.

Bob
pierpul 17 May, 2017
Seem I've same problem....Custom Code not loaded On Success in Event Switcher...WORDPRESS
pierpul 18 May, 2017
please, help me… thanks
This topic is locked and no more replies can be posted.