[Zope] Checkboxes in dtml and external methods

Oleg Broytmann phd@sun.med.ru
Tue, 20 Apr 1999 15:49:17 +0400 (MSD)


On Tue, 20 Apr 1999, Rob Page wrote:
> > <form action="receiver" method=post>
> > <input type=checkbox name=cb>option 1
> > <input type=checkbox name=cb>option 2
> > <input type=checkbox name=cb>option 3
> > <input type=checkbox name=cb>option 4
> > <input type=checkbox name=cb>option 5
> > 
> > <input type=submit name=ok value=ok>
> > </form>
> > 
> Hmm. I think your're after the behavior of a multiple select LIST (i.e.,
> SELECT) with the UI of a checkbox.  I don't think that will work.  If
> you're really after the select use that.  Otherwise I think you'll have
> to change the name of each checkbox input widget to get visibility of
> each on individually on the ACTION document.
> 
> --Rob

   Or you can give different values:

<input type=checkbox name=cb value=2>option 2
<input type=checkbox name=cb value=3>option 3
<input type=checkbox name=cb value=4>option 4

Oleg.
---- 
    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/
           Programmers don't die, they just GOSUB without RETURN.