CRM Tips : Javascript Stop Form Saving

If you want to control your process on save event, you can use preventDefault method.

Dont forget to click “Pass execution context as first parameter” on Form Properties.

crm on save javascript

preventDefault : Cancels the save operation, but all remaining handlers for the event will still be executed.

 

Save event arguments (client-side reference)

https://msdn.microsoft.com/en-us/library/gg509060.aspx

Leave a Reply

Your email address will not be published. Required fields are marked *