Hi list,
I have the following
in a textarea (form):
name1
name2
name3
and I want to output
the values of the field
exaxtly the same like:
name1
name2
name3
not like: name1 name2 name3
How can I catch the CR after
every line ?
Uwe
Use pre ?
On 8/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi list,
I have the following
in a textarea (form):
name1
name2
name3
and I want to output
the values of the field
exaxtly the same like:
name1
name2
name3
not like: name1 name2 name3
How can I catch the CR after
replace(form.value, chr(13)chr(10), br /, all)
On 8/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi list,
I have the following
in a textarea (form):
name1
name2
name3
and I want to output
the values of the field
exaxtly the same like:
name1
name2
name3
not like: name1 name2
htmlCodeFormat()
From: [EMAIL PROTECTED]
and I want to output
the values of the field
exaxtly the same like:
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion
#replacenocase(form.fieldtxtarea,chr(10),br /)#
Cheers,
Kris
and I want to output
the values of the field
exaxtly the same like:
name1
name2
name3
not like: name1 name2 name3
How can I catch the CR after
every line ?
)##chr(10)#, br /, all)#
or just wrap it in pre tags ;-)
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 26, 2006 12:15 PM
To: CF-Talk
Subject: OT: CR in a textarea
On 8/26/06, Mike Tangorre [EMAIL PROTECTED] wrote:
htmlCodeFormat()
Oh yeah. Bobby's right though, it's stored how it's stored.
Generally speaking, you want it to go in how you want it to come out.
:D
~|
Introducing the
in a textarea problem
paragraphFormat(form.fieldtxtarea) ?
On 8/26/06, Kris Jones [EMAIL PROTECTED] wrote:
#replacenocase(form.fieldtxtarea,chr(10),br /)#
Cheers,
Kris
and I want to output
the values of the field
exaxtly the same like:
name1
name2
name3
not like: name1 name2 name3
8 matches
Mail list logo