We are planning to use record types for the Lead object. For one of these record types we have a layout with several custom fields which show / hide depending on eachothers value. Sample 2 fields:

  1. HasOwnDistributor__c (Boolean)
  2. DistributorName__c (String)

As you can imagine, the distributor name (2) does not have to be visible if the boolean is set to false (1).

Since we are already using record types, different layouts is not an option anymore. Which options do we have?

We are using the Lightning Experience.


This is not possible today to do with any standard layout.

You have 3 options:

  1. Develop your own layout with VisualForce pages or lightning components (really not recommended, but a viable option).
  2. See this idea: Dependent page layouts and wait until it will be GA.
  3. See this article: Dependent Page Layouts – Dynamically Hide/Show Form Fields in Lightning Experience and try to use flows in your lightning layouts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.