Hi  if I understand what you want correctly, try this:

Before you save the text from the textarea do this:

<cfset Description = #ReplaceList(Description,
"#Chr(10)#,#Chr(10)##Chr(13)#", "<BR>,<P>")#>


This will let you display it out side a textarea nicely:
<output>#Description#</output>.

But if you brought it out into a textarea again all the <br> <p> will
show up. So what I did is use the aboved code again before I brought it
out into a <textarea> tag, but just change the position of the two
parameters:
<cfset Description = #ReplaceList(GetDetail.Description,"<BR>,<P>",
"#Chr(10)#,#Chr(10)##ChR(13)#")#>
It works for me and I hope it works for you too.



-----Original Message-----
From: Michael [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 7:56 AM
To: CF-Talk
Subject: Re: Text box not wrapping


Sorry but you lost me on this:

This is the action page:
<cfoutput>
Consultants Email <br>#form.email#<br>

There preference <br>#form.choices#<br>

Feedback Information <br>#form.feedback#<br>

</cfoutput>
and the feedback is coming from the text area on the form, this whole
shabang gets email to someone, and all I am looking for is to keep
everything tidy. shall we say


THanks
Michael


"Paul Ihrig" <[EMAIL PROTECTED]> wrote in message
1097F6DBC531D2118F180008C7B1682D03A1531C@NBBJCMHEX1">news:1097F6DBC531D2118F180008C7B1682D03A1531C@NBBJCMHEX1...
> Have you tried ParagraphFormat?
>
> <cfoutput>
> # ParagraphFormat(editClass.ClassDescription) #
> </cfoutput>
>
>
> -paul
>
> Web Developer, NBBJ
> Work: [EMAIL PROTECTED]
> 614 241-3534
> fax: 614 485-5534
>
> Home: [EMAIL PROTECTED]
> 614 449-1681
>
> > icq: 47658358
>
>
> -----Original Message-----
> From: Michael [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 07, 2001 4:47 PM
> To: CF-Talk
> Subject: Text box not wrapping
>
>
>     I have a text field value, that on the form, it wraps around and
> everything looks fine, although on the action page, (so people see
what
they
> submitted,) it just goes straight off to the right side of the page,
what
> am I missing or forgeting to put in.
>
> TIA
>
> Michael
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to