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
chiranthchiranth 

How to auto populate a lookup fields when i select other look up field

HI

 

I have three lookup fields

1.Sales 

2.Account

3.Contact 

While creating a record if I select sales lookup field , I need to populate account and contact lookup field based on the sales record selected

 

Please help me on this.

 

Thanks

 

 

Jaffer Ali.Jaffer Ali.

If Account and contact are derived on the basis of Sales then it seems to be a formula field.

 

Other wise if you want to appear two values on layout so user can edit it then it can be achieved by visual force page

Mike_M_2Mike_M_2

When you create the lookup field, there is a place for a Lookup Filter. Define the filter to use the other dependent fields.