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
Chandra babu 2Chandra babu 2 

How to write the trigger?pls give me the example?

B TulasiB Tulasi
Hi Chandra,

This is sample trigger for update the field.

trigger fieldUpdate on New_Leads__c (before insert,before update) {

    for(New_Leads__c newl:trigger.new){
        
      newl.Text__c='I4infotech';  
    }    

}

--Thulasi
Chandra babu 2Chandra babu 2
thanque tulasi