Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

preventDefault is not working

$
0
0

Hi, I need to cancel Onsave Event on form.

What I did was binding OnSave event (with 'Pass execution context as first parameter' checkbox flagged) and simple function:

function Form_OnSave(ExecutionObj) {
    ExecutionObj.getEventArgs().preventDefault();
}

but form is still saving...

what am I doing wrong?

 

Thanks and regards

md

 


Viewing all articles
Browse latest Browse all 82002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>