[Zope] Newbie question

Dieter Maurer dieter@handshake.de
Wed, 22 Aug 2001 23:24:01 +0200 (CEST)


Rubinstein Fredrik writes:
 > 	I have an form with fields that i would like to fill values from
 > dtml-vars.
 > 
 > 	How ever one of the dtml-vars contain space.

	... value="&dtml-your_var;" ...

Note the enclosing "...". This is necessary to include
space (and other funny characters) inside the value.

Also note the "&dtml-XXX" (entity reference syntax).
This is equivalent to

     <dtml-var XXX html_quote>

The "html_quote" is necessary to correctly quote characters
(e.g. ") that otherwise would mangle the value.


Dieter