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
bentonbenton 

Pre Populate Company field on Lead Object

Is there a way to prepopulate the company field on the Lead Standard Object. We do not use this field and our agents manually enter our company name in that field. Is there a way to have a trigger automatically insert a default company when the lead is created?

bob_buzzardbob_buzzard

You won't be able to do this via a trigger, as the company name is a required field on the page layout.  The way we've achieved this in the past is to override the new button for the Lead object and specify a default company name on the URL.  If you are using lead record types though, this can get a little more complicated.