I have an if/then formula to update because it is currently referencing a checkbox field that is no longer used for our Opportunities. The field that is used now is a formula field on the Opportunity that is derived from a field on the Account.
<apex:outputText value="{!IF(Opportunity.PO_Required__c, 'Yes', 'No')}" />
PO Number: <apex:outputText value="{!Opportunity.PO_Number__c}" />
Opportunity.PO_Required__c is the formula field being derived from an account field. PO Number is the field that is outputted if Opportunity.PO_Required__c equals Yes.
I keep getting this error:
Incorrect parameter type for function 'IF()'. Expected Boolean, received Text
I am not a developer, but have done some updates to previous Apex code and am trying to learn more.