I applied this patch to fix the RequireIfMissing class:
Index: formencode/validators.py
===================================================================
--- formencode/validators.py (revision 1753)
+++ formencode/validators.py (working copy)
@@ -2037,12 +2037,12 @@
class RequireIfMissing(FormValidator):
# Field that potentially is required:
- require = None
+ required = None
# If this field is missing, then it is required:
missing = None
# If this field is present, then it is required:
present = None
- __unpackargs__ = ('require',)
+ __unpackargs__ = ('required',)
def _to_python(self, value_dict, state):
is_required = False
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---