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
rahmedrahmed 

pre-populate fields

I have a custom object 'XYZ' which has 3 fields; 1 Master Relationship to Case, 1 Master Relationship to Account, 1 is text. Also, please note that the Case and Account objects are related by default. In the Case Detail page from the 'XYZ' tab/list i have a button that is 'NEW XYZ' (by defualt). When i click on that, it takes me to a page where i can enter a new XYZ. The Case field is prefilled with the case number. however, i also want the Account field to be prefilled as well with the Account. The account was entered when i created the Case.

 

Help would be appreaicated. Thank you.

werewolfwerewolf

You could use a technique like what Mark Silber describes here.