Hi,
While working with Chronoforms V5 I noticed the event switcher action does not load events once you click the "load events" input field. Normally you can have as many events as you wish (not just success,fail) and once you click Load events (even without saving the action), it should display newly loaded events...
Here is the fix:
in the line with this:
Change to this:
The problem was that JQuery was unable to find the element due to this class:
Sincere apologies if this has been fixed, found it no where in the forums. Plus the files definitely don't have this fix yet.
Cheers.
While working with Chronoforms V5 I noticed the event switcher action does not load events once you click the "load events" input field. Normally you can have as many events as you wish (not just success,fail) and once you click Load events (even without saving the action), it should display newly loaded events...
Here is the fix:
in the line with this:
var events = jQuery(elem).closest('.gform-line-tr').prev().find('#event_switcher_events_'+SID).val().split(',');
Change to this:
var events = jQuery(elem).closest('.gcore-form-row').prev().find('#event_switcher_events_'+SID).val().split(',');
The problem was that JQuery was unable to find the element due to this class:
.gform-line-tr
, because the element was instead a child of this class: .gcore-form-row
Sincere apologies if this has been fixed, found it no where in the forums. Plus the files definitely don't have this fix yet.
Cheers.