[Zope] ZPT and check boxes

David Kyte david.kyte@microamps.com
Fri, 31 May 2002 10:30:23 +0100


Hi,

Can anyone suggest how to implement a check box
in ZPT


When I create an edit form from a database I want
a check box that is either checked or not depending
on the value in the database


I am aware of tal:attributes but need to know how to
bend it to create HTML like

<input checked type="checkbox" name="UKSC" value="checkbox" >
       ^^^^^^^

TIA


David Kyte