function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kannapapikannapapi 

Special Character Issue while accessing Rich Text Field in Visualforce

Hi,
i am having rich text field in my visualforce page where i am entering the string like this:
The Value "Numaber" & 'Text' 
After saving the record the value in rich text field becomes like this: 
The Value "Numaber" & 'Text'
How to avoid this?
lakslaks
Hi,

Are you using apex:outputText in your VF page ?
If so, try setting the escape attribute to false. escape="false"

Regards,
Lakshmi.
kannapapikannapapi
HI Lakshmi,
​Thanks for ur reply..
I am using   <apex:inputTextarea value="{!card.Need__c}"  />
lakslaks
Ok. Can you try setting the attribute richText to true.

You can see the complete list of attributes here -
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_inputTextarea.htm