Just urlencodedformat them when you put them back in the form fields.  You
may need to modify your custom tag a bit.  DRE

-----Original Message-----
From: Kamie Curfman [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 03, 2002 1:01 PM
To: CF-Talk
Subject: CF_EmbedFields and Double Quotes


I have several forms in an application I'm working on.
 In all but one of them, I can enter single and double
quotes in the input boxes and textareas and have them
insert and display just fine.  In one of the forms,
though, I'm allowing the users to preview the data. 
As such, I'm using the CF_EmbedFields custom tag on
this page to hold/hide the form data before I insert
it.  Although the form data (double quotes and all)
displays just fine on the preview page, the double
quotes cause the data to get chopped off come insert
time (using CF 5, SQL 2000 on NT).  Again, this isn't
a problem with the other forms.

I can get around this by replacing the double quotes
with single ones before the CF_EmbedFields tag is
called, but later -- when admin goes to edit the info
-- there's a chance the data will look inconsistent
(sometimes single quotes, sometimes double).  Any way
around this short of me creating a bunch of
session/client variables or a temp table?

Kamie

=====
Kamie Curfman, Web Developer, FGM Inc.
45245 Business Court, Suite 400
Dulles, VA 20166
http://www.fgm.com

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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