[Zope-dev] z3c.form - extraction from sequence widget
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Aug 28 09:25:07 EDT 2008
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"
More information about the Zope-Dev
mailing list