Ken Kuhlman wrote:
Is it possible to get chained validators to work with nested forms?
I've seen a couple of questions around this area, but haven't seen any
references to a successful solution.
The goal is to get a fieldset that is only required when a certain
condition applies. I can get it working with a single dependant field,
but not with a fieldset.
The code I've attached to the pastebin adds 6 tests to
test_new_validation, plus a FancyValidator & two schemas. The first
three (single dependancy) tests work, but the second set (the last 3
tests in the code) all fail. I really only care about the last one,
but I find it odd that the other 2 fail as well.
http://paste.turbogears.org/paste/838
Any pointers?
Bump.
If I submit this failing test as a ticket would it be accepted?
Would it be better if I wrote the test case with a more meaningful
example, or was I right to stay within the (contrived) frame of
reference that was already being used?
thanks,
-Ken
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---