You need to sign in to do that
Don't have an account?
Girbson Bijou 8
Rich text Area field in Visualforce page
Hi all, Help me please.
I want display a field value of a Rich text area in a Visualforce as it is formated in the layout. The must important for me is to go on the next line like in the first screenshot.
Here is my portion of code
<p style="border: 0.08px solid black;"> {!Container__c.General_Comments__c}</p>
I want display a field value of a Rich text area in a Visualforce as it is formated in the layout. The must important for me is to go on the next line like in the first screenshot.
Here is my portion of code
<p style="border: 0.08px solid black;"> {!Container__c.General_Comments__c}</p>
Just try below code instead of yours,
<apex:outputText escape="false" value="{!Container__c.General_Comments__c}" ></apex:outputText>
Thanks,
All Answers
Just try below code instead of yours,
<apex:outputText escape="false" value="{!Container__c.General_Comments__c}" ></apex:outputText>
Thanks,
Can please try below format it may help you.
<apex:inputTextarea value="{!con[0].Submit_Discription__c}" richText="True"/>
Please look at the below screen shot for output of VF.
Please let me know if it useful / if you need Any help
Thanks & Regards
Madhukar_Heptarc
<apex:page standardController="Container__c">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection columns="1">
<apex:inputTextarea value="{!Container__c.General_Comments__c}" richText="True"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
Mention richText="True"
Please let me know if any help required.