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
CBBsfdcCBBsfdc 

How to to add a filter to the contact lookup fields in an opportunity, task, etc

 if it was possible to add a filter to the contact lookup fields in an opportunity, task, etc which are related to an account, to only show the contacts that are related to the chosen account.
Best Answer chosen by CBBsfdc
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.

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

https://salesforce.stackexchange.com/questions/70887/lookup-filter-to-display-contacts-related-to-selected-account

https://success.salesforce.com/ideaView?id=08730000000jeVqAAI

https://developer.salesforce.com/forums/?id=9060G000000UTrjQAG

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas