You need to sign in to do that
Don't have an account?

How to write an else if trigger with checkboxes?
Hey everyone,
I'm trying to write a trigger where if any of the follwing checkboxes are checked off:
Active_1__c
Active_2__c
Active_3__c
Active_4__c
Active_5__c
Active_6__c
It marks a separate checkboxed called
Active_main__c
and if all the checkboxes are unchecked, so is Active_main__c.
Can someone help with this? I'm new to the developer space.
You can write the trigger like this:
Replace the ObjectName with the name of object where you want to write the trigger.
Mark answers best if it does help you.
Thanks,
Rahul