On Sunday 23 April 2006 11:27, David Johnson wrote:
> I'm using formlib and trying to implement a validator on a new-use sign up
> form. It seems to work unless I provide my own widget errors.  Below is my
> validator. The code is being executed (I can see my debug code).  Any
> ideas? What am I not understanding?  The form simply returns with no
> validation errors at all.

Try to follow the code path and see what happens with the error list after the 
checkFields() call. Roger also recently provided a bug fix that allows you to 
use invariants on interfaces. That might work for you as well.

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

Reply via email to