ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Event Switcher doesn't see '0' events

healyhatman 15 Oct, 2019
When using an event switcher, it fails to pick up the event when the data source is 0.

Steps:

Create form with field (radio, text, whatever)
Have an event switcher set to {data:fieldname} with events 1, 0, and * in the submit event

On submit, the event switcher will capture the "1", but if the field is set to 0 it will instead go to the default * event. This is the case even if you simply put 0 in the data source directly.

If you set the event to capture /0/ it will work

Note: in this case the * is last, to prevent it from capturing the event
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com