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
Rahul BorgaonkarRahul Borgaonkar 

How to disable Contact Lookup field auto populating list of all contact

Hi,

I have a contact look up field on a custom object. I have put a filter so that it should show all contacts for account which relates to custom object. But when I try to select a contact from popup on magnify glass, it also show me list of all contacts on all account. Please find a screen shot of the same. These list of contacts are unwanted list as it is not related to account on custom object.

Could you please let me know how to disable this picklist functionality when I use this lookup contact field on visualforce page? It will help a lot.

User-added image
Please let me know if you need further details.

Best Regards,

Rahul