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

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



I have three lookup fields




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.





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


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