function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC DummySFDC 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
Tony TannousTony Tannous
Dear,

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