Re: validators combined

2006-01-30 Thread Jiri Barton
Thank you very much. This is exactly what I've been looking for.

Re: validators combined

2006-01-30 Thread Adrian Holovaty
On 1/30/06, Jiri Barton <[EMAIL PROTECTED]> wrote: > I have two text input fields in a form. At least one of them is > required. My question is, how can I check for this? Hi Jiri, Check out RequiredIfOtherFieldNotGiven and RequiredIfOtherFieldsGiven in django/core/validators.py. Adrian -- Adri

validators combined

2006-01-30 Thread Jiri Barton
I have two text input fields in a form. At least one of them is required. My question is, how can I check for this? class MyManipulator = (formfields.Manipulator): def __init__(self, request=None): self.fields = [ formfields.TextField( field_name='apples',