Skip to Content

TheBlogReaders.com

Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces

How to check the if condition in Salesforce Visualforce page

Be First!
by March 1, 2013 APEX, SALESFORCE, Visualforce

How to check the if condition in Salesforce Visualforce page?

Assign the variable in your apex class and use that variable using below,

Ex1:


<apex:outputPanel id="ref3" style="{!IF((masterLookupType == 'Contacts List'), '', 'display:none')}" >
<apex:inputField value="{!t.Parentid}"></apex:inputField>
</apex:outputPanel>

 Ex2:


<div style="{!IF((enableUATTab),'','display:none')}" >
TheBlogReaders.com
</div>

(3444)

Previous
Next

Leave a Reply