On 12/22/06, Alberto Valverde <[EMAIL PROTECTED]> wrote:
> Now, I want to add a chained validator so that fld1 must equal fld2.
> Is there a way to do this without re-coding all of the validators in a
> Schema?
Yep,
simple_test_form = w.TableForm(
fields=SimpleTestFields(),
validator=Schema(chained_validators=...),
action='action')
Alberto
Excellent! Thanks Alberto, it works like a charm!
Chris
--
"A little government and a little luck are necessary in life, but only
a fool trusts either of them." -- P. J. O'Rourke
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---