I have a query to check for record exists before add. If the record exists I want to display a message inline and return false. Since I cannot do an alert with JavaScript on the page because I am inline , I use the $message function. When testing I still get Error Occurred and then the message . Is there any way around getting the error occurred from showing and just showing the $message = "Duplicate Records Cannot Add on the same date" for example.
I get error occurred>> Then the error (orange box with the message ) . I was thinking of a more professional way of presenting this message to the user? I tried to setup inmisc tab under Detailed Error messages but for one it will show message for all error inlines in other parts of the project and two it still shows error occurred even though I setup not to.
Any Ideas?