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
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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