This content has been marked as final. Show 1 reply
I'm hoping you're in at least APEX 4.0 or greater. If so, the easy way to handle this is with the Save Before Exit Plugin
Normally, the plugin will do exactly what you want, BUT will be "smart" enough to let you cancel and not give you message.
So what you'll need to do is specify the correct "Disable Warning Selector" in the plugin. Usually is set to :button meaning all buttons are valid "exists" from the form. in your case, you may want to be more specific and say that the Save button is the only one valid.
So if you give your save button an id of say saveBTN then your selected would be #saveBTN instead of the default :button
Hope this helps.