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
guneetsahaiguneetsahai 

HTML in Text Area

I have a custom object which might have HTML data in one of its field (of type text area). Is there a way by which I can enable showing the content in Rich text (instead of showing the code with HTML tags in it).

I did some searching around this topic and I understand this is possible with VisualForce but I don't think visualforce is available in enterprise edition (and hence not usable for me). Another option might be to write an S-Control which might be able to do the job, but I'm hoping that there is some HTML Enabled Text Area (Field Type) which simplifies this job even more, but couldn't really find it in my search.

Thanks for helping me out.
Guneet Sahai
http://www.guneetsahai.com



Ron HessRon Hess
in visualforce

Code:
<apex:page>
<apex:form >
<apex:inputTextarea richText="true" ></apex:inputTextarea></apex:form>
</apex:page>

 

guneetsahaiguneetsahai
Thanks Ron,

Can this be done outside visual Force?

I noticed that "Solution" object has two fields of type "HTML Long Text Area" which allow showing HTML data? Is it possible to define a custom field in my custom object of similar type (This doesn't show up as an option in list when creating a new field)?

Thanks
Guneet Sahai
Freelance Software Developer
http://www.guneetsahai.com