You need to sign in to do that
Don't have an account?
ThunderBolt
How to use AND/OR conditions in <apex:outputpanel render={}>
Code I wrote:
apex:outputPanel rendered="{
!OR(
AND(
Preferred_Language__c == 'English',
Case_Category__c != 'Bug'
),
AND(
Case_Category__c == 'Administration',
OR(
Case_Sub_Category__c == 'Admin',
Case_Sub_Category__c == 'New User',
Case_Sub_Category__c == 'Password Reset',
Case_Sub_Category__c == 'Other'
)
)
)}"> </apex:outputPanel>
But this is not working. Please Suggest
apex:outputPanel rendered="{
!OR(
AND(
Preferred_Language__c == 'English',
Case_Category__c != 'Bug'
),
AND(
Case_Category__c == 'Administration',
OR(
Case_Sub_Category__c == 'Admin',
Case_Sub_Category__c == 'New User',
Case_Sub_Category__c == 'Password Reset',
Case_Sub_Category__c == 'Other'
)
)
)}"> </apex:outputPanel>
But this is not working. Please Suggest
Hi Rakesh,
you have to put these conditions inside if block use below code.
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi