#5335: newforms: Custom validation. ---------------------------------------------+------------------------------ Reporter: Thomas Güttler <[EMAIL PROTECTED]> | Owner: adrian Status: new | Component: django.newforms Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 1 ---------------------------------------------+------------------------------ Custom Validation: If you need to access other fields, you need to overwrite form.clean(). If you want to have the error message near a widget (not __all__), you need to modify the _error dict of the form. To make this more user friendly I wrote a small patch: ErrorDict.append(fieldname, message) Doc patch included.
-- Ticket URL: <http://code.djangoproject.com/ticket/5335> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
