I've had this happen a lot til I figured out the trick.

Have the entire <textarea></textarea> on one line.

Address:
<cfoutput>
<textarea name="jobaddress" cols="60" rows="3"
wrap="VIRTUAL">#trim(qLatestRequest.jobaddress)#</textarea>
</cfoutput>

-----Original Message-----
From: Greg Luce [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 12:38 PM
To: CF-Talk
Subject: Text Area Behavior


Hi all,
    I'm using Sybase,RedHat,CF 5.0 and I have a text area that's giving me
fits!
Address:
<cfoutput>
<textarea name="jobaddress" cols="60" rows="3" wrap="VIRTUAL">
#trim(qLatestRequest.jobaddress)#</textarea>
</cfoutput>

The value that's getting displayed #trim(qLatestRequest.jobaddress)# is
being displayed in the middle of the text area instead of aligned left. It's
a column selected from a database. The column's properties are "char 100".
I'm trimming the value before displaying it as you can see. And I've
displayed the len() of the variable and it shows the exact length, so I'm
pretty sure the value doesn't have a bunch of spaces on it.

Any Ideas would be greatly appreciated.

Greg Luce
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to