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 _______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users