On Wednesday 27 August 2008, Marius Gedminas wrote: > > I think you have a point. Have you tried changing the behavior to > > return "default" and see what tests fail? If no major failures come out > > of this, I would say change it. > > Wait a second, maybe I'm misunderstanding this, but I certainly oppose > any change that would make an unchecked checkbox an error during form > validation. > > A required Bool field can have two values: True or False. One is > represented by a checked checkbox, the other by an unchecked checkbox. > An unchecked checkbox is not missing input and should not trigger > "required missing" errors.
Good point. I am going to watch the discussion a little more. :-) Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. "Zope Stephan Richter" _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )