Showing or hiding form elements

In this recipe, we will focus on making the form as user friendly as possible. We can achieve this by showing specific fields only when required, and hiding irrelevant form elements when they are not required. We can work at various levels, where we can affect an individual field, a whole section, or a tab. Attention should be paid to how we group elements on the form, as this could potentially result in unexpected results, and a form layout that is not appealing to users.

Getting ready

For this recipe, make sure you have access to a Dynamics CRM 2011 environment. You must have a system customizer or system administrator permission in that environment to implement these customizations. Do not do these exercises in ...

Get Microsoft Dynamics CRM 2011 Scripting Cookbook 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.