30 Jun
2003
30 Jun
'03
4:53 p.m.
Solved: To get multiple form checkboxes to load their state from a SQL generated dynamic list: <dtml-in SQL_getMath> <input type="checkbox" name="dance<dtml-var sequence-number>" value="1" <dtml-if expr="_['math' + _.str(_['sequence-number'])] == 1">checked</dtml-if>> <dtml-var standard_text><br> </dtml-in> In particular: expr="_['dance' + _.str(_['sequence-number'])] == 1" I wonder if this would be easier in ZPT. The mixing of Python and DTML tripped me up. I could not find a reference to the dtml-in 'prefix' tag, but it looks promising for this sort of application. Thanks to everyone who helped! Harlow Pinson Indepth Learning Email: hpinson@indepthl.com Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678