why don't you use the urlencodedformat() before serializing the data. this will take care of any quotes, double quote, pound signs, or any other character that might cause a problem. then use the urldecode() to convert it back.
Anthony Petruzzi Webmaster 954-321-4703 [EMAIL PROTECTED] http://www.sheriff.org -----Original Message----- From: Critz [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 10:27 AM To: CF-Talk Subject: Re: WDDX Breaking Hidden Field oi Brad!! ummmmm <input type=hidden value='#wddx#' > <--------- single quote it? -- Critz Certified Adv. ColdFusion Developer Crit[s2k] - <CF_ChannelOP Network="Efnet" Channel="ColdFusion"> ------------------------------------ Friday, April 26, 2002, 10:18:41 AM, you wrote: BR> I know this has been asked before, but I can't find it anywhere. BR> I have a textarea that allows users to type a bunch of text. When BR> submitted, the form variables serialized to wddx and put in a hidden field BR> for the next form. BR> The problem is that if the user enters characters like double quotes, the BR> browser thinks the hidden form field ends at the double quotes and displays BR> the rest of the packet. BR> What function do I need to use to "make it safe" while passing it in a BR> hidden field and then "make it normal" when I input the info into the BR> database? BR> I've tried xmlFormat(), but it didn't work (I may not be using it BR> correctly). BR> -Brad BR> ______________________________________________________________________ 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

