• Sokheng Yin
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I wish to render an field output on a VF page if another field value is  > 0 

 <apex:pageBlockSection >
  
  <apex:outputField> value= "{!IF(order__c.hss_qty_price__c >  0, "This includes HSS and Stay Behind price",  "All clear no extras" )} />
             
  
   </apex:pageBlockSection>


This is hwo it works in my formula but I have hit a compile error there so need to move into a page

IF(hss_qty_price__c > 0, "This price includes HSS price",  "All clear no extras"