[Zope-dev] interesting html_quote puzzle
Sam Gendler
sgendler@impossible.com
Fri, 24 Mar 2000 14:03:52 -0800
I have a form field on a page that is the first page in a multi page
wizard. This means that the values from the first page must be embedded
in the subsequent pages as hidden fields.
How can I deal with someone putting a double quote (") in a text box.
When I put the hidden field in the page the value="<dtml-var field>"
seciton winds up with extra quote marks, wreaking havoc with the
browser. If I html quote or url quote the value of a hidden field, the
browser does not un-quote it before quoting it again for transmission.
This ileaves me with a permanently quoted value, which is unacceptable
for reasons that I won't go into right now.
Any thoughts?
--sam
--
--------------------------
Sam Gendler
CTO, Impossible, Inc.
1222 State St. Suite 250
Santa Barbara, CA. 93101
p: 805-560-0508
f: 805-560-0608
c: 805-689-1191
e: sgendler@impossible.com