My form will render the "load" and "submit" events, but not my "Page Two" and "Page Three" events.
https://www.theoakscamp.org/index.php?option=com_chronoforms5&chronoform=Summer_Camper_Registration
(I DID recently upgrade to J!3.7.2, and the latest V5. In addition I noticed my shared server upgraded from PHP 5.6.30 to 7.0.19)
I had not changed the form itself in more than a month. Any suggestions?
https://www.theoakscamp.org/index.php?option=com_chronoforms5&chronoform=Summer_Camper_Registration
(I DID recently upgrade to J!3.7.2, and the latest V5. In addition I noticed my shared server upgraded from PHP 5.6.30 to 7.0.19)
I had not changed the form itself in more than a month. Any suggestions?
I made a copy of my form and adjusted some of the items in Setup. It now works to navigate straight to any page or proceed to Page Two.
I took out some of the Data Save elements and an Event Switcher which included a Check Google NoCaptcha.
Here is the code from my Event Switcher.
Does this help?
I took out some of the Data Save elements and an Event Switcher which included a Check Google NoCaptcha.
Here is the code from my Event Switcher.
<?php
if ( !isset($form->data['g-recaptcha-response']) || $form->data['captcha'] != 'passed' ) {
return 'fail';
}
?>
Does this help?
Still looking for help with this issue. I'm pretty sure the PHP code in the Event Switcher is throwing an error since my site upgraded to PHP 7.0.19
Another form with Event Switcher in "on submit" has:
Should there be a different code syntax here?
Another form with Event Switcher in "on submit" has:
<?php
if (isset($form->data['emailconfirm'])) {
return 'sucess';
}
?>
Should there be a different code syntax here?
This topic is locked and no more replies can be posted.
