Martin Aspeli schrieb:
> Marius Gedminas wrote:
>> On Wed, Aug 27, 2008 at 05:15:48PM -0700, Stephan Richter wrote:
>>> On Wednesday 27 August 2008, Martin Aspeli wrote:
>> Wait a second, maybe I'm misunderstanding this, but I certainly oppose
>> any change that would make an unchecked checkbox an error during form
>> 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.
> What about the case when you have a list of options of which you need to
> chose one or more? In that case, ticking none is a validation error.
Use "min_length = 1" and the Field will raise TooShort.
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -