I have some code that runs in the onBeforeUpdate event.
If I have an error, then I can simply put:
sc_error_message($error_message);
sc_error_exit();
The message is displayed and the update canceled.
Sometimes I just want to display a warning message, and continue with the update.
sc_alert($warn_message); works if I have an Editable Grid, but it does NOT work if I have an Editable Grid View.
I cannot use just sc_error_message($error_message); because even without the sc_error_exit(); the transaction is eventually canceled and the update does not occur.
Any suggestions on how to accomplish this?
Thanks.