Thank you very much. This is exactly what I've been looking for.
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
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',
3 matches
Mail list logo