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

LongTextArea - SFDC cleansing and trimming
Hi we currently have a long text area field where users could put some comments and other details about a specific record. There are cases where user would need to put in javascript code, urls, iframe code into the comments. The problem is that content and formatting is lost whenever a comment is posted. <SCRIPT language="JavaScript"> <!-- hide from old browsers alert('Welcome to my Web Site!'); //--> </SCRIPT>
We don't want to execute the script upon load but we want to preserve the formatting. Would having a rich text area help in this case? We are already using <apex:outputText escape="false" value="{!c.cmMsg.Message__c}" /> so that the content would display. | |||
![]() |