function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Field display on page layouts

How to display  set of fields only when  a condition is met?  Example if Type = incoming call then I want to display certain set of fields.  we do have FD but  the user don't want to see the fields that are not relevent to the Type selection.
Hi CRMUser,

You can use record types to display different page layouts based on the value of another field. When creating a new record, your user first sees a picklist with the different options for Type -- then based on their selection, your users then see the appropriate page layout.

For more information, check out the help for record types:

There's also a tip sheet on record types you may find useful:

Hope that helps,

Caroline Roth
Manager, Platform Documentation

John McGlinnJohn McGlinn
The Visualforce method which negates the need for maintaing the hierarching of Record Types, Layouts and Profiles is very well articulated in this resource. Becoming familar with the "Action" Region and "Re-Render" capabilities is a very useful tool to have in your arsenal especially when accessing layouts with hundreds of custom fields.