You need to sign in to do that
Don't have an account?
TehNrd
outputField formula with with HYPERLINK() does not display correctly
We have a custom text formula field on opportunity that looks like this:
HYPERLINK("www.google.com", "Click Here")
When you try to display this field on a visualforce page it displays the entire HTML code rather than "Click Here":
<apex:page standardController="Opportunity"> <apex:pageBlock mode="view"> <apex:pageBlockSection > <apex:outputField value="{!Opportunity.Hyperlink_Test__c}" /> </apex:pageBlockSection> </apex:pageBlock> </apex:page>
Displays:
<a href="www.google.com" target="_blank">Click Here</a>
Looks like a potential bug.
-Thanks,
Jason
All Answers
I am seeing this bug still in Spring '12. I have opened a case with Salesforce about it.