+ Start a Discussion
suneel kumar 32suneel kumar 32 

Show and hide fields in standard layout

Hi friends,
      I have one requirement that I need to use standard layout of contact.In that I have a checkbox "same Mailing Address".When ever I check that ,all fields related to mailing address should not appear.
Do salesforce support hide/show of fields based on conditions?
 
Navee RahulNavee Rahul
Hello Suneel,

what you can do add Field Dependency to the Check box.Click on the Filed Name.
in the new screen where you can Add New Dependency fields.
User-added image

see the attached image.

Thanks
D Naveen Rahul.
 
VineetKumarVineetKumar
No, this (hiding and unhiding) is not possible with the standard layout, you will have to create a VF page.
But you can save the value using a trigger / process builder in the back-end.
Vasani ParthVasani Parth
I believe currently this is not possible in page layout. Salesforce trying to possible this feature via lightning App builder.
Here is the Idea you can vote for this.
https://success.salesforce.com/ideaView?id=08730000000BroxAAC

Answer from success community
Salesforce doesnt support this. You can create field dependencies but all fields always show up on the page at all times for users as long as the field is included on the page layout and the field level security gives them access to it.

Source :  https://success.salesforce.com/answers?id=90630000000go9uAAA