On Thursday 04 Dec 2008 10:59:13 am Malcolm Tredinnick wrote:
> > As an example, I have a form with properties A and B.  One of A or B
> > must be set.  If neither is set, a validation error should be raised.
> > Can someone show me an example of overriding is_valid()?  Ideally, I
> > would want the validation error associated not with an individual form
> > field, but with the entire form.
>
> I spent an entire afternoon of my life writing up the documentation for
> that a couple of months ago. An entire afternoon that I'll never get
> back. So read the docs! See
> http://docs.djangoproject.com/en/dev/ref/forms/validation/ .

an afternoon very well spent! One read has cleared all my queries on this 
point. Excellent work.

-- 
regards
KG
http://lawgon.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to