>Need to get a cftextarea (CF 7) area to accept a carriage return when >the user is typing, and then when the form is submitted, save that so >when the data is viewed, the carriage returns are still intact. > >If I set: wrap="hard" >It will accept carriage returns when I'm typing, but after the form >submission, the returns are erased and not saved to the database (A SQL >Server varchar field) > >Anyway to get this to work?
They are there, when you output you just need to do a #replace(query.field,chr(10),"<br>","All")# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298880 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4