[Zope] truncations in form input due to quotes problem

J Cameron Cooper jccooper@jcameroncooper.com
Wed, 05 Feb 2003 19:02:33 -0600


>
>
>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