[Zope] Checkboxes/SQL data type problem

Thomas B. Passin tpassin@mitretek.org
Thu, 20 Jun 2002 11:30:21 -0400


[Aseem Mohanty]

> when you use checkboxes with the same name or for that matter similar
> names <input name="..."> in a form, the item in the REQUEST variable is
> a list or in case of Zope a list-string of the form "['a','b','c']".
> Write a python script to convert it to a list. If you need one I can
> give it to you altho I must confess I am not an expert in Python.

You really do get a real Python list, not a just string that looks like a
list.  Each element of the list is in fact a string.  You don't need a
script to convert it.

Cheers,

Tom P