Opened 13 years ago
Closed 13 years ago
#17387 closed New feature (worksforme)
Make 'This field is required' error more specific.
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Uncategorized | Version: | 1.3 |
Severity: | Normal | Keywords: | error |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This are very common errors, but it doesn't create a good user or developer experience to have this message.
I suggest that instead, the message read "This field, {{fieldname}}, is required" be the default, or that there be a way to style the error message in the template language or in the model field.
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | Screen Shot 2011-12-12 at 3.19.35 PM.png added |
---|
comment:2 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Did you see this section of the docs regarding looping over form fields and displaying field specific errors?
https://docs.djangoproject.com/en/1.3/topics/forms/#customizing-the-form-template
and the section that follows that:
https://docs.djangoproject.com/en/1.3/topics/forms/#looping-over-the-form-s-fields
screenshot