AnsweredAssumed Answered

Alert message from before_save logic hooks

Question asked by Bruce Park on May 30, 2017
Latest reply on May 31, 2017 by Altaf Ur Rehman

Hi guys,


Now I am developing before_save logic hook and want to stop the procedure and show alert message to users in certain cases like below.


But I don't know how to do this in the before_save logic hook code.

What kind of response do I have to send back? I have been finding related answers in this community but they are mostly not working that way.

FYI, I am using 7.8 version.


Thank you.