[Zope] Single html checkbox as list?

Jerome Alet alet@unice.fr
Mon, 25 Sep 2000 09:09:08 +0200 (MET DST)


just do something like:

<input type="checkbox" name="yourname:list">

good luck

Jerome ALET - alet@unice.fr - http://cortex.unice.fr/~jerome
Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 
28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE

On Mon, 25 Sep 2000 clamor@fafalter.de wrote:

> Hi,
> 
> since I didn't find anything on that topic, the solution might be
> obvious but I ran into the following problem:
> 
> I have a html form with several checkboxes. If one checkbox is
> selected, the variable containing the result is represented by a
> string, if two or more checkboxes are selected the variable is
> represented by a list.
> 
> Is there a way to force the variable to be a list, even if only one
> checkbox is selected?
> 
> greetings
> clamor
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>