Wednesday, July 27, 2011

CRM 2011: Canceling the Save operation java script

function Form_onsave(executionObj)
{

//ADD This to avoid save ............
executionObj.getEventArgs().preventDefault();

}

When add this function in Form On save check the pass execution context as first parameter checkbox 

No comments:

Post a Comment