Hiya.

I am completely lost. I want to use the standard AddManipulators
provided. They are cool.
But, I also want to make use of the RequiredIfOtherFieldEquals
validator from django.core.validators.py.

I have searched and searched, but I can't seem to find any reference to
how to implement it (or any of those validators..?)

i have tried adding it in the view like this:
manipulator.fields[3]=formfields.IntegerField(field_name="monthDay",validator_list=[
RequiredIfOtherFieldEquals("periodType","Month")]
and in the model like this:
monthDay = meta.IntegerField(null=True, blank=True,
validator_list=[RequiredIfOtherFieldEquals('periodType','Month')])

and I've tried prefixing with "validators."

Am I trying to do something which can't be done? And if not, how do I
access and use all those validators?

Lost in confusion, 
gizo.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to