Forums

Event switcher stopping save

cappleby 20 Feb, 2020
I can no longer edit and save the forms I've created in the past - one just a month ago. I coied a form to make a new form but it failed to save.
So I created a new form and found that when I added an event switcher it stopped saving - gave me a 404 error when opening https://secure.efac.org.au/administrator/index.php?option=com_chronoforms5&act=save&save_act=apply.
The form was saving until I added the event switcher. The switch code is

<?php
if ( $form->data['Total'] == 0 ) {
return 'success';
} else {
return 'fail';
}
?>

cappleby 20 Feb, 2020
Having experimented some more I don't seem to be able to add anything to the form and save it. With out adding fields I can make changes and save it though. Very Strange.
cappleby 20 Feb, 2020
This appears t be happening on more than one of my sites.
cappleby 21 Feb, 2020
Another day later and it now seems to be working correctly. Very strange.
This topic is locked and no more replies can be posted.