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 not working as it should be

black_angel 22 Dec, 2017
im trying to use event switcher to filter empty value in array and save data to database.
but the problem is after the first return of 'success' every event in event switcher will be fired no matter what is returned.
here is custom php code:
$res=$this->get("loop_event29.row");
$event='fail';
if(strlen($res)>0){
   //echo "row :".$this->get("loop_event29.key");
   $event= 'success';
}
return $event;

as you can see in my attachment (response),after first success event both events will be fired regardless of what is returned value.
Max_admin 27 Dec, 2017
Hi,

Please post a screenshot of your events setup!

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
black_angel 28 Dec, 2017
Answer
Hi,tnx for ther replay but i solved my problem by using php codes instead of event switcher.
i already attached success and fail event screenshots in my attachment.
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