Use Case Corner—Adding Java Script to the OnChange Event of Picklist Fields

As you navigate through the field properties dialog boxes for the various field types, you'll notice that there is an additional tab labeled Events on the dialog box for picklist fields. This tab enables you to enter JavaScript that will be run during the OnChange event of this field. In other words, this enables you to run a piece of JavaScript code each time the value of this field is changed.

NOTE

If you are really daring, it is also possible to add JavaScript to nonpicklist fields by updating the Microsoft CRM XML files directly. However, this is definitely not a supported customization so proceed at your own risk.

We'll take advantage of this functionality by using ...

Get Special Edition Using® Microsoft® CRM now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.