You need to sign in to do that
Don't have an account?
How do I remove formatting of email field in Visualforce page rendering as a PDF?
I've got a visualforce page rendering as a PDF that is pulling in some contact details from a junction object, including Email address.
It looks like this:
I'd like to strip the formatting of the text - no hyperlink, no 'Gmail' text.
My code looks like this:
<apex:column > <apex:facet name="header">Email</apex:facet> <apex:outputField value="{!c.role.Contact_Name__r.Email}" /> </apex:column>
Any tips?
Hey Jenna
apex:outputField binds directly to the field on the record - including the type, et all
Using outputText will get rid of the formatting
So,
All Answers
Hey Jenna
apex:outputField binds directly to the field on the record - including the type, et all
Using outputText will get rid of the formatting
So,
Try using
The outputField tag includes formatting features...but outputText should just output the straight text without formatting
Thanks guys! That did the trick!