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.