Man, this has become a popular topic lately. I asked a similar question a
couple of weeks ago, and at least three other threads have sprung up
around the same topic since.

In answer to my question, which was pretty similar to yours, some kind
CFers sent me this, which works nicely.

<cfset CallText = reReplace("#CallText#", #chr(10)#, "<br/>", "ALL")>


> Hi all,
> 
> Just playing with a textarea on a form and I'm using the following prior to
> input:
> 
> <cfset FormattedTextStuff = Replace(Form.probArea,chr(32),' ','all')>
> <cfset FormattedTextStuff =
> Replace(FormattedTextStuff,chr(10),'<br>','all')>
> 
> When I go to edit the record the textarea now shows <br> tags. 
> 
> How can I stop this?? Or is there a better way to give it a quasy wysiwyg
> look-n-feel??
> 
> Matty H
> 
> 
> **********************************************************************
> A new world of colour, sound and pictures awaits you:
> Vodafone Live! More details at http://www.vodafone.com.au/live/
> 
> **********************************************************************"
> This correspondence is for the named person's use only. It may
> contain confidential or legally privileged information or both. "
> No confidentiality or privilege is waived or lost by any "
> mistransmission.  If you receive this correspondence in error, please
> immediately delete it from your system and notify the sender.  You 
> must not disclose, copy or rely on any part of this correspondence 
> if you are not the intended recipient. 
> 
> Any views expressed in this message are those of the individual sender,
> except where the sender expressly, and with authority, states them to
> be the views of Vodafone.
> 
> This email has been checked for viruses.
> **********************************************************************************************

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to