I would like to custom the confirmation message ( depends on the user inputted values in the form ) after clicked the submit button on popup dialog for add/edit record. Is it possible?
Hello,
You can use phpgrid_msg() function in callback events of on_insert, on_update.
https://www.gridphp.com/docs/grid-events/
https://www.gridphp.com/demo/demos/editing/bulk-edit.phps line 150
Hi,
Thanks for your reply. Is there any side effect after running phpgrid_msg() ? I found the codes after phpgrid_msg() in on_insert() & on_update() cannot be executed and on_insert() & on_update() will not continue to perform default grid function although I set “true” in third parameter.
$e[“on_insert”] = array(“add_client”, null, true);
$e[“on_update”] = array(“update_client”, null, true);