----- Original Message ----- From: Oleg Broytmann <phd@sun.med.ru>
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.
Close Oleg but I think this is the way it needs to be. <input type=checkbox name="cb:list" value=2>option 2 <input type=checkbox name="cb:list" value=3>option 3 <input type=checkbox name="cb:list" value=4>option 4 The ":list" after the name tells Zope to pass the values as a list. Otherwise you would need to give each it's own name.