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
admin sureshadmin suresh 

In account page layout i want to display the active contacts? How can we do this ?

pconpcon
In order to do this, you will need to override the default page with custom VisualForce, include the default layout, and then write a custom component that only lists active contacts.

Another option would be to just configure the contact related list on the Account page to be sorted by active status.  This would push the inactive contacts to the bottom and would save you some headache of writing custom code.