Are you saying that you are saving this textarea to a table in the database
and it is not comming back out just as it was written?
- Original Message -
From: "Javed Mushtaq" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Thursday, March 22, 2001 3:17 AM
Subject: Text area
use paragraphformat() on the output, might get close to what you are after,
it only does quite basic formatting, cr's and lf's only.
-Original Message-
From: Javed Mushtaq [mailto:[EMAIL PROTECTED]]
Sent: 22 March 2001 09:18
To: CF-Talk
Subject: Text area question
Hi all,
I have a
Are you looking for something as simple as the PRE Tag /PRE to preserve
Returns and Tabs?
-Original Message-
From: Bryan LaPlante [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 2:03 AM
To: CF-Talk
Subject: Re: Text area question
Are you saying that you are saving
l Message -
From: "Craig Dudley" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Thursday, March 22, 2001 11:10 AM
Subject: RE: Text area question
use paragraphformat() on the output, might get close to what you are
after,
it only does quite basic formatting, cr's
I think this is what you are looking for (ideally, stick it in a custom tag
for future use).
cfset string = Replace(string, Chr(13) Chr(10) Chr(13) Chr(10),
"p", "all")
cfset string = Replace(string, Chr(13) Chr(10), "br", "all")
cfset string = Replace(string, Chr(10) Chr(10), "p",
when you save it, make sure your form area WRAP attribute is set to HARD.
then use paragraphformat on the output side.
chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com
-Original Message-
From: Javed Mushtaq [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
6 matches
Mail list logo