You need to sign in to do that
Don't have an account?

How do I get this section of code not to be expressed if the value of DSP_Eval__c.xvb5__c = "X"?
This is a section of a table PDF VF page - I do not this section of the table to display if the value of DSP_eval__c.xvb5__c = "X".
<table border="1" cellspacing="0" width="100%" align="center" style="height:150 px; font-size:12px; font-weight:normal">
<tr style="text-align:left">
<td style="text-indent:10px; font-weight:normal"> Skill 5: Supports the self direction of services. </td>
<td style="text-align:center; font-weight:normal ">{!DSP_eval__c.xvb5__c}</td>
</tr>
</table>
<table border="1" cellspacing="0" width="100%" align="center" style="height:150 px; font-size:12px; font-weight:normal">
<tr style="text-align:left">
<td style="text-indent:10px; font-weight:normal"> Skill 5: Supports the self direction of services. </td>
<td style="text-align:center; font-weight:normal ">{!DSP_eval__c.xvb5__c}</td>
</tr>
</table>
To implement this in your class, you need to have an object's variable
public DSP_Eval__c dspEval {get;set;}
In order to implement that you need to use apex:datatable
you need to use a controller and calls the action method on User's Action
<apex:datatable border="1" cellspacing="0" width="100%" align="center" rendered = "{!IF(dspEval.xvb5__c = "X",true,false)}" style="height:150 px; font-size:12px; font-weight:normal">
<tr style="text-align:left">
<td style="text-indent:10px; font-weight:normal"> Skill 5: Supports the self direction of services. </td>
<td style="text-align:center; font-weight:normal ">{!DSP_eval__c.xvb5__c}</td>
</tr>
<apex:datatable>
If you want to use table, you can use outputPanel
<apex:outputpanel rendered="{!IF(dspEval.xvb5__c = "X",true,false)}" >
<table border="1" cellspacing="0" width="100%" align="center" style="height:150 px; font-size:12px; font-weight:normal">
<tr style="text-align:left">
<td style="text-indent:10px; font-weight:normal"> Skill 5: Supports the self direction of services. </td>
<td style="text-align:center; font-weight:normal ">{!DSP_eval__c.xvb5__c}</td>
</tr>
</table>
</apex:outputpanel>