Re: Conditional Validation of Formfields

2006-03-06 Thread Luke Skibinski Holt
I think I've found my solution in django/core/validators.py where the docs make a passing reference. Theres a range of "RequiredIf..." and "ValidateIf..." types to pick from that should cover my needs. Will the docs on custom manipulators/validators be padded out some in the future, or is magic

Conditional Validation of Formfields

2006-03-06 Thread Luke Skibinski Holt
If a field isn't required, then it isn't validated. I need to do a conditional validation: if a field value is blank or not selected, then validate these other fields which are not ordinarily validated. Is there a way to force a formfield through the validators even if is_required=False ? Luke