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
Admin User 3585Admin User 3585 

QUOTE PDF PRINT

Hi Experts,

I don't want show the field if there is no value in Discount filed.

<td style="border-bottom:1px solid black;border-right:1px solid black;" align="center"> {!QLI.Discount__c}{!if(QLI.Discount__c != null,'%','')} </td>

how to built  logic in visualforce page.
Regards,
Sudarsan
Dushyant SonwarDushyant Sonwar
<td style="border-bottom:1px solid black;border-right:1px solid black;" align="center"> 
<Apex:outputpanel rendered="{!not(QLI.Discount__c == null)}">
{!QLI.Discount__c}{!if(QLI.Discount__c != null,'%','')} 
</Apex: outputpanel>
</td>

Try with this one , it will work fine . Feel free to ask questions :)