[Zope] Is there an easy way?..

Martijn Pieters mj@antraciet.nl
Wed, 13 Oct 1999 11:52:40 +0200


At 11:17 13/10/99 , Morten W. Petersen wrote:

>I have a form that has 12 checkboxes on it. On the action
>URL, I have an in tag, which iterates over the ?list? of
>checkboxes. Problem is, when one or none are checked,
>zope complains about the stuff being a string, and refuses
>to do anything. Quick fix please?

Add :list to the namefield of the checkboxes. That way it will always be alist.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------