tablename_before_insert messages to the screen
Posted: 2013-09-03 08:51
I am using tablename_before_insert & tablename_before_update hooks to check
the data before insert and update.
If based on my checks I do not wish to insert or update,
I return FALSE.
Up to here all ok.
However,
how do I show a message on the screen that no insert or update took
place ?
What happens now is that I return FALSE, but on the screen the
user sees a "Successful" notification.
the data before insert and update.
If based on my checks I do not wish to insert or update,
I return FALSE.
Up to here all ok.
However,
how do I show a message on the screen that no insert or update took
place ?
What happens now is that I return FALSE, but on the screen the
user sees a "Successful" notification.