I'm trying to render some content in a Visualforce email if specific boolean fields are true. I have 6 boolean fields I'd like to verify.
Using apex:outputPanel I'm able to do the following:
<apex:outputPanel rendered ="{!relatedto.Agency__c}">
For the life of me, I can't figure out the syntax to check each additional boolean field. I've tried 14(!) different combos.
<apex:outputPanel rendered="{!relatedto.Agency __c} || {!relatedto.Food_bev_manufacturers__c}">
<apex:outputPanel rendered="({!relatedto.Agency __c} || {!relatedto.Food_bev_manufacturers__c})">
<apex:outputPanel rendered="{!relatedto.Agency __c} || {!relatedto.Food_bev_manufacturers__c}">
<apex:outputPanel rendered="(!relatedto.Agency __c || !relatedto.Food_bev_manufacturers__c)">
<apex:outputPanel rendered="{relatedto.Agency __c || relatedto.Food_bev_manufacturers__c}">
<apex:outputPanel rendered="OR(relatedto.Agency __c, relatedto.Food_bev_manufacturers__c)">
<apex:outputPanel rendered="{OR(relatedto.Agency __c, relatedto.Food_bev_manufacturers__c)}">
<apex:outputPanel rendered="{OR(!relatedto.Agency __c, !relatedto.Food_bev_manufacturers__c)}">
<apex:outputPanel rendered="{IF(OR(relatedto.Agency __c, relatedto.Food_bev_manufacturers__c))}">
<apex:outputPanel rendered="OR(!relatedto.Agency __c, !relatedto.Food_bev_manufacturers__c)}">
<apex:outputPanel rendered="!OR({relatedto.Agency__c},{relatedto.Food_bev_manufacturers__c})">
<apex:outputPanel rendered="OR({relatedto.Agency__c},{relatedto.Food_bev_manufacturers__c})">
<apex:outputPanel rendered="!OR({!relatedto.Agency__c},{!relatedto.Food_bev_manufacturers__c})">
Any insight would be appreciated!