Re: [Zope] getting all fields from dynamic checkboxes

2005-04-04 Thread Dieter Maurer
Dan E wrote at 2005-4-3 17:00 -0400: >Has anyone found a way to get a list of boolean values from >dynamically created checkboxes. >I have created a bunch of checkboxes within a repeat loop like this: > >class="noborder" > name="cb_array:lis

Re: [Zope] getting all fields from dynamic checkboxes

2005-04-04 Thread Chris Withers
Phillip Hutchings wrote: You need to keep a server-side list of the checkboxes and check which ones aren't there. Web browsers don't send back checkboxes that aren't checked - it's an HTML feature. Well, server side lists don't scale. I've found keeping a hidden html input with a list of the field

Re: [Zope] getting all fields from dynamic checkboxes

2005-04-03 Thread David H
Dan E wrote: Hi, Has anyone found a way to get a list of boolean values from dynamically created checkboxes. I have created a bunch of checkboxes within a repeat loop like this: but when I access the cb_array from my python script, I only get the checked values (and I can no longer mat

Re: [Zope] getting all fields from dynamic checkboxes

2005-04-03 Thread Phillip Hutchings
On Apr 4, 2005 9:00 AM, Dan E <[EMAIL PROTECTED]> wrote: > Hi, > Has anyone found a way to get a list of boolean values from > dynamically created checkboxes. > I have created a bunch of checkboxes within a repeat loop like this: > > class="noborder" >

[Zope] getting all fields from dynamic checkboxes

2005-04-03 Thread Dan E
Hi, Has anyone found a way to get a list of boolean values from dynamically created checkboxes. I have created a bunch of checkboxes within a repeat loop like this: but when I access the cb_array from my python script, I only get the checked values (and I can no longer match the val