Event Switcher onSubmit problem

How to fix an Event Switcher not working in a ChronoForms onSubmit event.

Overview

The issue occurred because the 'default' event name may be restricted, preventing the Event Switcher from functioning as expected.
Use a custom event name instead of 'default' and test with custom code actions rather than Display Message actions.

Answered
Ma Matt2012 29 Oct, 2014
So I have a Server Validation on a onSubmit event in the onSuccess I have an Event Switcher it simply returns default for testing.

i.e.


<?php 
return 'default';
?>


In the On default event I have a Display Message

you got to default

That's the simplest implementation I could think of and it doesn't work.

Right after the Event Switcher I have a Display Message that says got here which shows so I know everything else is firing.
Ma Matt2012 29 Oct, 2014
Answer
Seem to have sorted this. Using custom Code rather than Display Message to test and not using default event which probably is a restricted word.
This topic is locked and no more replies can be posted.