an reReplace()?  Get a regular expression that will replace ' an " witht
their ascii equivilents.  I may have on laying aropund let me look.

Tim Heald
ACP/CCFD :)
Application Development
www.schoollink.net

> -----Original Message-----
> From: Brad Roberts [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 10:19 AM
> To: CF-Talk
> Subject: WDDX Breaking Hidden Field
>
>
> I know this has been asked before, but I can't find it anywhere.
>
> I have a textarea that allows users to type a bunch of text.  When
> submitted, the form variables serialized to wddx and put in a hidden field
> for the next form.
>
> The problem is that if the user enters characters like double quotes, the
> browser thinks the hidden form field ends at the double quotes
> and displays
> the rest of the packet.
>
> What function do I need to use to "make it safe" while passing it in a
> hidden field and then "make it normal" when I input the info into the
> database?
>
> I've tried xmlFormat(), but it didn't work (I may not be using it
> correctly).
>
> -Brad
>
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to