On 3/10/06, Alberto Valverde <[EMAIL PROTECTED]> wrote: > Yep, we don't need a validator for strings, but the point is that we > need some way to tell generate_schema to know which fields expect > input.
If I'm following this thread correctly (I'm honestly only skimming it) then you're creating a schema from a a WidgetsMeta and using that for validation. If you're doing this, I request that I be able to define the formencode pre_validators and post_validators for the form directly instead of having to create a different schema to do so. This would allow a much simpler way to perform cross-field checks (e.g. if one of these fields has a value, they all must be filled) than the current solution of creating and maintaining a schema by hand just because you want chained_validators. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk -~----------~----~----~----~------~----~------~--~---
