The formula never evaluates to true regardless of the
Active__c field being true or false so the REQUIRESCRIPT never loads. If I base the condition on a checkbox on the Opportunity record, it works fine.
The click-activated alert displays the correct values for
Active__c so the formula is getting something for that field, but it doesn't seem to be able to reference it correctly in the IF statement. Oddly, if I create some other type of condition like
Account.Text_Field__c = 'text', it works correctly. The issue seems to be limited to booleans.
Is this just a limitation of custom buttons, or am I doing something wrong here?
REQUIRESCRIPT is just an alert popup that says 'Hello' when the script loads.