On Thursday 16 October 2008 12:42:03 Christopher Arndt wrote:
> AutoCompletField is a CompoundWidget and therefor needs a validation
> schema, not a single validator.
>
> The meber widgets are "text_field" and "hidden_field".
OK, I'm giving up and asking to be spoon fed. How exactly would I add that to
my pre-existing validation schema:
class UserInfoSchema(validators.Schema):
chained_validators = [
validators.FieldsMatch('password', 'passwordverify'),
]
Is this stuff documented anywhere? The only vaguely relevant Google hits were
to http://docs.turbogears.org/1.0/FormValidationWithSchemas#compound-
validators but that's something else entirely.
--
Kirk Strauser
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---