[Zope3-Users] Validation of schemas?

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Oct 30 19:01:53 EST 2005


On Sunday 30 October 2005 04:45, Adam Summers wrote:
>     How do I implement a validation rule that says either email or phone
> have to exist, but not necissarily both.

You do that using invariants. Look at zope.interface/README.txt for details.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list