Validation and Events

George Lee <[email protected]> Sun, 24 Sep 2006 16:32:32 +0000 (UTC)
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
Hi,

Is it possible yet to hook in a validator to an Archetypes object using
Five/Zope3 events?

Related to Martin Aspeli's work on schema-by-interface -- it's clear how that
could be used to add in a validator just for one new field, but not how we could
validate that the data from two fields satisfy some condition (e.g., min < max).

Peace,
George


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV