A simple idea might be to re-frame your idea of aborting the save and just remove the save button from the page if they're not supposed to be saving. I'm not sure what method you're using to call your code, but if you're on the form it'll be much easier just to remove the button than trying to stop them from clicking save.
If you add some jQuery and do:
$("#saveButton").hide()
$(".IconOnly").hide()
$("#footerSaveButton").hide()
It'll remove the header and footer saves and arrows
Chayce Duncan | Technical Lead
(720) 739-1406 |
chayceduncan@quandarycg.com Quandary Knowledge Base