You need to sign in to do that
Don't have an account?
SFDC Dummy
Want to Display:urgent
I have created a picklist having value "none,Yes,NO".i want use this in my visualforce page for pdf formate like
if picklist is "none and No", its false means not display in my pdf
if yes it will be display in pdf
i have written visulaforce page
<table>
<apex:outputPanel rendered="{!IF(Quote__c.Substrate_Details__c==null, Quote__c.Substrate_Details__c== No,false,true)}">
<colgroup width="300"> <tr>
<td><b>Substrate Details</b></td> <td>:{!Quote__c.Substrate_Details__c} </td>
</tr>
but its throwing error like 'standardcontroller.No' not exist
is there any solution
if picklist is "none and No", its false means not display in my pdf
if yes it will be display in pdf
i have written visulaforce page
<table>
<apex:outputPanel rendered="{!IF(Quote__c.Substrate_Details__c==null, Quote__c.Substrate_Details__c== No,false,true)}">
<colgroup width="300"> <tr>
<td><b>Substrate Details</b></td> <td>:{!Quote__c.Substrate_Details__c} </td>
</tr>
but its throwing error like 'standardcontroller.No' not exist
is there any solution
can you try the below code
<table>
<apex:outputPanel rendered="{!IF(Quote__c.Substrate_Details__c =="Yes",true,false)}">
<colgroup width="300"> <tr>
<td><b>Substrate Details</b></td> <td>:{!Quote__c.Substrate_Details__c} </td>
</tr>
Good Luck