Hi Abu,
Is this normal that the option ["add_options"]["afterComplete"] seems no longer working on the latest build ?
trying add this to demo folder / custom-events.php to start with clean grid.
$opt["add_options"]["afterComplete"] = "function (response, postdata) {
console.log('test');
}";
nothing is logged to console.
but if you try:
$opt["edit_options"]["afterComplete"] = "function (response, postdata, formid) {
console.log('test');
}";
it work as expected
Thanks for your help,
David
You can also try using:
$opt["add_options"]["afterSubmit"]
and
$opt["add_options"]["afterShowForm"]
Hi Abu,
thanks for the answer.
Just for information, what is the difference between aftersubmit and aftercomplete ?
is afterSubmit fires after all actions and events are completed or just after submit button is clicked ?
Rergards