Re: problem with chained validators

Ian Bicking <[email protected]> Tue, 28 Oct 2008 10:54:41 -0500
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
Marcin Stępnicki wrote:
> Hello.
> 
> I have the following snippet:
> 
> http://arag0rn.pastebin.pl/3215
> 
> Basically, I'm trying to force user to fill other1_name field if
> other1 is set to True (same for other2 and other3, respectively).
> 
> However, validation never reaches chained validators despite
> validate_partial_form set to True. I'm sure I'm missing something
> obvious, because similar example is in the docs, to quote
> http://formencode.org/Validator.html#writing-your-own-validator

This appears to be a bug in SimpleFormValidator.  (Also I noticed 
another thing that appears to be a bug, in that it didn't return the 
value_dict at the end of its to_python method.)  These should be fixed 
in trunk now, can you try again with that?


-- 
Ian Bicking : [email protected] : http://blog.ianbicking.org

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FormEncode-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-discuss