You need to sign in to do that
Don't have an account?
Fiona Hunter
How do i display formula fields on a VF edit page?
Hi
I have a VF Page that loads but any fields that have a forumula in them do not display the text on edit is there anyway to fix this so the values are shown?
Thanks
Fiona
I have a VF Page that loads but any fields that have a forumula in them do not display the text on edit is there anyway to fix this so the values are shown?
Thanks
Fiona
Formula fields are read-only which means that you can only render them as plain text:
Either <apex:outputField or <apex:inputField will show the field as text only.
Regards.
Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.
Sorry dont know much about code but the line I have for the field I want to display is shown below what edit would i need to make to be able to see the text on the VF page?
<apex:inputfield value="{!factFind.Client_Forename__c}" required="false"/>
Can you also show the controller code where factFind variable gets the record info as well as the formula field?
Is it showing blank or error? If blank, please check whether the formula field is getting value or not in standard page layout for your testing record.
Also, you can check whether the field has appropriate access for the profile.
Thank You.