all groups > coldfusion flash integration > november 2006 >
You're in the

coldfusion flash integration

group:

How to create linebreaks in cftextarea, format = flash


How to create linebreaks in cftextarea, format = flash PamG
11/20/2006 5:28:54 PM
coldfusion flash integration:
I'm using <cfform format="flash">, and I can't figure out how to create a
linebreak in the cftextarea form control. For example, in the following code,
I'd like to display "item1", "item2", and "item3" on separate lines. I'm new
to cfform tags and flash, so any help would be greatly appreciated!

<cftextarea name="impacted_systems"
label="Impacted Systems"
readonly="yes"
height="24"
width="300"
wrap="virtual"><cfoutput>item 1,item2,item3</cfoutput></cftextarea>

Re: How to create linebreaks in cftextarea, format = flash Nick Watson
11/21/2006 12:00:00 AM
Try #chr(13)# between your items

<cftextarea name="impacted_systems"
label="Impacted Systems"
readonly="yes"
height="48"
width="300"
wrap="virtual"><cfoutput>item
1,#chr(13)#item2,#chr(13)#item3</cfoutput></cftextarea>
Re: How to create linebreaks in cftextarea, format = flash PamG
11/22/2006 2:29:02 PM
AddThis Social Bookmark Button