I have one Input field and one Output field.
And I have two Boolean fields Boolean 1 and Boolean 2 from Controller.
Condition 1: If Boolean 1 is true and Boolean 2 is false the value should come in output field.
Condition 2: If Boolean 1 is true and Boolean 2 is true the value should come in input field.
I need to know the condition to be checked in rendered
I wrote like as follows its not working.
<apex:outputfield value="{!fieldname}" rendered="{!IF(AND(Boolean 1 == true, Boolean2 == false), TRUE, FALSE)}"/>
<apex:inputfield value="{!fieldname}" rendered="{!IF(AND(Boolean 1 == true, Boolean2 == true), TRUE, FALSE)}"/>