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
Amruta ChaudharyAmruta Chaudhary 

how to create Search layout for lookup field?

Here is two lookup field, based on 1st field value ,if we serachd number in 2nd field want to show releted number of list based on value that we put in 1st field.
AnkaiahAnkaiah (Salesforce Developers) 
Hi Amrutha,

You need to setup related lookup filters.

Please refer the below articles.

https://trailhead.salesforce.com/content/learn/projects/customize-a-salesforce-object/create-lookup-filters

If this helps, Please mark it as best answer

Thanks!!
 
Amruta ChaudharyAmruta Chaudhary
lookup filter has allready applied to field but while 2nd lookup field  got error like 'no result for this value'.
 
AnkaiahAnkaiah (Salesforce Developers) 
Hi Amrutha,

Can you share the lookup filter condition.?