[Zope-DB] Why doesn't this work?

Gál László Gal.Laszlo at peto.hu
Wed Dec 24 08:08:31 EST 2003

>  <input name="title" type="checkbox" value="<dtml-var caption>">

Naming your input
  <input name="title:list" type="checkbox" value="<dtml-var caption>">
always will give you a list of titles. (You can also use the others (:int, :string and so on) to make sue of the type of the result)

Then, you can use the following zsql method
<dtml-in title>
 delete from article where caption=<dtml-sqlvar sequence-item type=string>;
Europe now without walls - who needs Gates?

More information about the Zope-DB mailing list