**********************************************************************
WESTMINSTER CITY COUNCIL
Please refer to the disclaimer beneath this message
**********************************************************************

Thanks a lot,

-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 13:37
To: CF-Talk
Subject: RE: Format of a form field passed as a session variable.


There is nothing about setting a value to a session value that 'convets'
the original data. The problem is with your HTML code most likely. Check
the textarea tag and see if you have wrap=hard. This will add line
breaks when the text wraps. My HTML may be a bit off - you may need
wrap=virtual, whatever, but the point is, doing <cfset session.foo =
form.foo> does NOTHING to the original data.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire

Email    : [EMAIL PROTECTED]
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Adams, Stephen [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, September 17, 2002 8:30 AM
> To: CF-Talk
> Subject: Format of a form field passed as a session variable.
> 
> 
> **********************************************************************
> WESTMINSTER CITY COUNCIL
> Please refer to the disclaimer beneath this message
> **********************************************************************
> 
> Hi,
> 
> I have a form that when submitted sets its fields as session 
> variable so
> that the user can go back and forth and still keep the original form
> details.  One of these form fields is a textarea field that 
> takes in some
> text which is sent as an email.  When the email is sent the 
> text is one
> large block, this is due to me setting it as a session 
> variable.  Is there a
> way I can keep the formatting of the text in the text area 
> when it is set as
> a session variable or will I have to pass it between my pages 
> using hidden
> fields in order to keep the format.
> 
> Thanks
> 
> Stephen
> 
> 
> **********************************************************************
> Westminster City Council switchboard: 
> +44 20 7641 6000
> **********************************************************************
> This E-Mail may contain information which is 
> privileged, confidential and protected from 
> disclosure.  If you are not the intended recipient 
> of this E-mail or any part of it, please telephone 
> Westminster City Council immediately on receipt.
> You should not disclose the contents to any other 
> person or take copies.
> **********************************************************************
> 
> 

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to