you are testing the output on a html page which doesn't recognize the
newline character. to display it in HTML text you need the <br> tag. If you
just want to test to make sure its there then you can display it in a
textarea (note: not a text box) and you should see the linefeeds there
Ricki Stern
----- Original Message -----
From: "Mitch Duszynski" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 9:56 AM
Subject: RE: LineFeeds in Text Fields
> Thanks for the tips. I am trying it now, but it does not seem to actually
> work. I am using it in this format...
>
> <CFSET CrLf = chr(13) & chr(10)>
>
> but when I use a test display like this...
>
> <CFOUTPUT><B>"CrLf" = A#CrLf#B</B></CFOUTPUT>
>
> All I get is...
>
> A B
>
>
> Am I doing something wrong?
>
> Mitch
>
>
> -----Original Message-----
> From: George Farnsworth [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 22, 2000 8:32 AM
> To: CF-Server
> Subject: Re: LineFeeds in Text Fields
>
> Just add chr(13) & chr(10) where you want it. I usually create a
> variable called CrLf that contains those two and then use it whenever I
> need it. Also useful in parsing out stuff containing them.
>
> Mitch Duszynski wrote:
> > How do I add LF/CR to text I wish to enter into a field in a database
> (such
> > as a comment field or multiple lined history field)?
> --------------------------------------------------------------------------
----
> To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com
>
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com