function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
When I create a vf page with renderAs="PDF " attribute it displays an outputfield as DATETIME field though having a data type as DATE
Hi,
You can use the apex:outputtext instead of apex:outputfield
Try below code sample
<apex:outputText value="{0,date,MM'/'dd'/'yyyy}"><apex:param value="{!contact.Birthdate}" /></apex:outputText>
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Hi,
You can use the apex:outputtext instead of apex:outputfield
Try below code sample
<apex:outputText value="{0,date,MM'/'dd'/'yyyy}">
<apex:param value="{!contact.Birthdate}" />
</apex:outputText>
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.