Just do this : <cfset locCarriageReturn=chr(13) & chr(10)>
<cfoutput> #replace(your_variable,locCarriageReturn,"<BR>","ALL")# </cfoutput> Pat -----Original Message----- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: November 6, 2004 18:02 To: CF-Talk Subject: RE: formatting in textarea When you display the text, using ColdFusion, you need to replace the line feeds with "<br>" tags. There may be a custom tag or UDF that already does this since it is such a common issue. M!ke -----Original Message----- From: Roberto Perez [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 11:10 PM To: CF-Talk Subject: formatting in textarea Hi all, Quick question on textarea: I have a form with a box where visitors can type comments. The input goes to an Access database with a "memo" field. My problem is, if they type one or more carriage returns, the text in the "memo" field does not reflect that, and obviously when the comments are displayed on the browser they look like one long paragraph instead of several shorter ones (separated by carriage returns) as the visitor intended. Any solutions for this? Thanks in advance, Roberto Perez [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183564 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54