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

Creating Field Rules


I have field called 'Theater' under object Account.

Now, I have create a new custom Object called DSP. Under this DSP i create first field 'Account name' as a lookup field to Account.


Now i want to create a second field under DSP object called 'theater'..This theater field should be prepopolated accordingly as i select Account name from lookup. 



How can i create this second field called Theater? Anyone please suggest me the steps. 





If you have a relationship between two objects, this will solve you issue




You can either create a formula field "Theater" and display the value Account__r.Theater__c over there.

This will be a read only field will appear only on the detail page of DSP record.


Else you can create a workflow rule which will update the field after the record is edited and will display the Theater value in the field. This field can also be made as editable and you can edit it to a different value.