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
sreenathsreenath 

How to populate some values from standard object fields to custom object fields?

Hi Developers,

                        I hope my question is clearly to all. In a custom object I have an account lookup field. when I select account, I need some values auto populate from account. 

 

I did this from a trigger, but these values are populating after saving. But, I need when i selected an account at that time i need this values populated into related fields of custom object.

 

How can i do this?

                         

JitendraJitendra

Hi Sreenath,

In this case you will need to use the Javascript (Action function method) which should call the Controller method and rerender that area to reflect the fields of Account.