NO, don't modify the text before it goes into the database filling it with html tags. Leave it exactly as they typed it. Only format it with the replace() when displaying it in html. It will show up exactly as it was in a textarea. If you do it like you're saying, all of the text will run together when you display it in a textarea and all the carriage returns would be lost on the first update since all of your line breaks get replaced with a space.
-----Original Message----- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Sunday, November 07, 2004 9:21 AM To: CF-Talk Subject: Re: formatting in textarea One other imprtant thing I've run into when using replace for this purpose is this: When you display the memo field in an edit form, those <br>'s show up. I usually use another replace() when outputting to an edit form. Something like: Replace(string,"<br>"," ","ALL") It seems to work well. THE GAME! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:183575 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

