[Product-Developers] Dexterity: make a list field required
mikko+plone at redinnovation.com
Wed Dec 5 18:56:42 UTC 2012
On Wed, Dec 5, 2012 at 8:50 PM, Christian Ledermann <
christian.ledermann at gmail.com> wrote:
> I try to make a list filed required for a dexterity type:
> layers = schema.List(
> description=_(u"WMS Layers"),
> but when I save the edit form it does not complain wether
> the list field is filled or not
My gut feeling is that it validates "list object" not "list length".
Is there a validator which allows you to the require the minimum length of
the list (probably not)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Product-Developers