O'Reilly logo

Microsoft Dynamics CRM 2015 Application Design by Mahender Pal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding client-side events

Microsoft Dynamics CRM 2015 exposes events for forms, fields, and other controls. These are the event handlers where we can call our custom JavaScript methods. We can configure our client-side code to execute on specific events or dynamically associate our method to a corresponding event. Let's first understand events related to forms.

Form events

Two events—OnLoad and OnSave—are exposed for entity forms where we can write our client-side code.

OnLoad event

The OnLoad event handler executes code when the entity form is loaded. We can utilize this event for controlling the behavior of entity forms and this event is useful for different scenarios. For example, we may want to hide/disable some fields based on other fields ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required