You need to sign in to do that
Don't have an account?

Display certain fields in the salesforce page layout based on the checkbox?
Hi Team,
Is it possible to display certain fields in the salesforce page layout based on the checkbox?
For eg if ChecboxField = TRUE
Show 10 fields in Page Layout.
if ChecboxField = FALSE
Show 5 fields in Page Layout.
I want to use the same Record Type.
Any constructive suggestion or feedback much appreciated!
Is it possible to display certain fields in the salesforce page layout based on the checkbox?
For eg if ChecboxField = TRUE
Show 10 fields in Page Layout.
if ChecboxField = FALSE
Show 5 fields in Page Layout.
I want to use the same Record Type.
Any constructive suggestion or feedback much appreciated!

I don't think you can do this using OOB. You have to create a vf page and check the checkbox value in controller and display the fields inside the vf page and embed that page inside your layout.

Can you please provide sample code?