22 Aug
2001
22 Aug
'01
9:24 p.m.
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