[Zope3-Users] Re: formlib vs. cancel button
Martin Aspeli
optilude at gmx.net
Thu Feb 15 04:55:19 EST 2007
Dennis Schulz wrote:
> I dont know if it is the "proper" way,
> but when I return an empty string there is no validation error.
>
> This was also one of the strangest things I found out with formlib.....
I found that returning {} also works. But this is clearly a design
weakness if there is no other way of doing it. Something like
validator=NULL_VALIDATOR would be fine, or some kind of decorator.
Martin
More information about the Zope3-users
mailing list