The rate.Approval_Hyperlink__c is a formula field on the object. However, I can not get it to encode and it displays the HTML behind the link. I am sure I am going about this the wrong way... what should my approach be? Thanks, John{!IF(rate.Rate_Approved__c = TRUE, "Rate Approved", rate.Approval_Hyperlink__c)}
2 respostas
Hi John, Try using this:
<apex:outputText value="Rate Approved" rendered="{!rate.Rate_Approved__c}" />
<apex:outputLink value="{!rate.Approval_Hyperlink__c}" rendered="{!!rate.Rate_Approved__c}" >Click to Approve</apex:outputLink>
Let me know, if you need any other help.
Thanks,Neetu