You need to sign in to do that
Don't have an account?

Rich Text Area field on page layout
Hi,
I have a rich text area field on a VF page where a site user enter's the rich text in it.
When I add that field to a page layout I see all the data in html format. All the data entered by user is converted to html and is not in a readable format?
How can we see the data of richtextfield in a readable format on the salesforce standard pagelayout?
Thanks in advance
Raj
Hi,
I also faced a similar Issue. I used the below method to remove the HTML Tags.
public String removeHTML(String htmlString)
{
String noHTMLString = htmlString.replaceAll('\\<.*?\\>', '');
noHTMLString = noHTMLString.replaceAll('\r', '<br/>');
noHTMLString = noHTMLString.replaceAll('\n', ' ');
noHTMLString = noHTMLString.replaceAll('\'', ''');
noHTMLString = noHTMLString.replaceAll('\"', '"');
return noHTMLString;
}
Hope this solves.
Thanks
Thanks for your help.
Will check out this one.
Thanks