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?
You can use phpgrid_msg() function in callback events of on_insert, on_update.
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);
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?