> Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
> simple mistake. I can't get my text to show up on a cfquery using
> <textarea> tag. Here is my code:
> <textarea cols=50 rows=10 name="body" wrap="virtual" font="arial" value=
> "#body#"></textarea>
> Wierd thing is if I change it to an imput type ="text" it works
> fine. So i
> know it has to be something in my textarea code. Wierd part is, that same
> exact code is used elsewhere and works. If anyone can help please do,
> thanks.  The database is in access and is set for "memo" in that
> field.  It
> wouldn't be so bad but, some of the articles are rather long for a normal
> text field.

Textarea doesnot have a value attribute. Use the following:

<textarea cols=50 rows=10 name="body" wrap="virtual"
font="arial">#body#</textarea>

It is also useful to apply the trim() function to the body variable, to
prevent any addition whitespace.


- Sean

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.dealstream.com
http://www.mergernetwork.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tel: 207.439.6030
cel: 978.764.0779



------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to