I want to catch a form with formencode if an "old password" field
doesn't match a field from the DB. How do I do this? validators don't
seem to be able to take arguments at runtime, so I don't seem to be
able to write a validator for this purpose.

I could check in the controller "save" method, but my understanding is
if I make it past the decorators to the actual method, I miss out on
the automatic redirecting/filling-in that @validate() and
@error_handler() provide.

What's the best way to do what I'm trying to do here?

Thanks -- Andy

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to