On Oct 13, 3:18 pm, Alberto Valverde <[EMAIL PROTECTED]> wrote:
> Generally speaking, both in TW and TG widgets, chained validators (and
> prevalidators) should be placed in the same nesting level as the fields
> they're validating.
Thank you, it works when I pass a
validator = Schema(chained_validators=[FieldsMatch('password',
'password_confirm')])
to the fieldset.
But it will fail if you want to validate fields over different nesting
levels.
Although this might be a rare use case that doesn't deserve a change
in the code.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---