7 Aug
2003
7 Aug
'03
4:47 p.m.
Ian Sealy wrote:
Anyway, the latter would produce (for example):
<input type="text" value=1234 candykane Ln size="30">
So the value would indeed be 1234. Try putting some quotes round it. That is:
<input type="text" value="<dtml-var address1>" size="30">
One good reason to use ZPT; you can't generate HTML that's broken in the way Ian's suggestion fixes.
You also need to quote any HTML in address1. Otherwise you'll have problems with addresses that contains quotes and other HTML characters. So:
<input type="text" value="<dtml-var address1 html_quote>" size="30">
Another good reason to use ZPT, everything is HTML quoted by default, although you can optionally turn it off per statement usign the 'structure' keyword... Chris