27 Aug
2003
27 Aug
'03
7:14 p.m.
grissom@qwickconnect.net wrote at 2003-8-26 07:00 -0700:
After looking through the list for the last hour I could not find an answer to the following problem.
I have a dtml form that itterates over the content of a folder and displays a checkbox next to each of the files. The form allows a user to select items to be deleted. If a user does not select a check box I get the folloewing error:
Error Type: NameError Error Value: global name 'ids' is not defined
This only happens when a checkbox has not been selected.
Add a <input type=hidden name="ids:tokens:default"> to your form. Read section 2.6.3 of <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> to learn why it works. Dieter