You need to sign in to do that
Don't have an account?
realtimetasks1.3941822547955107E12
trigger on lead object
Making the field "opt in" automatically populate when a new lead or contact is created, while making it possible to uncheck manually if necessary.
trigger leadcheckbox on Lead(before insert) {
for(Lead Ld: Trigger.new){
Ld.Checkbox__c = true;
}
}