[Zope] truncations in form input due to quotes problem

Chris Beaumont cbeaumon@msri.org
Wed, 5 Feb 2003 17:32:44 -0800 (PST)


I've been using the &dtml.missing-xyz; format which I thought was
html_quote-ed.

But maybe not, because it appears to fix it..
I wonder if perhaps it might have been something else.. 

I'll need to bang on it a
bit more..

*Thank you!*

> >
> >Yes, I know, and I use sqlvar on the final step, but this is a
> >multi-page form and I use hidden form fields to pass the values from the
> >first page to the second.. *then* I save the data to my database on the
> >last step..
> >
> >But your suggestion makes me realize that perhaps the multi-page form
> >isn't the way to go, since that seems to be where the truncation is
> >occuring..
> >  
> >
> Haven't tried this myself, but (I suspect) you need to do something like
> 
> <input type="hidden" name="somename" value="<dtml-var somevalue 
> html_quote>">
> 
> Without good ol' html_quote in there, you get truncated. You might need 
> url_quote, but probably not.
> 
>           --jcc
> 
> 
>