Opened 12 years ago

Closed 12 years ago

#17387 closed New feature (worksforme)

Make 'This field is required' error more specific.

Reported by: rich@… 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)

Screen Shot 2011-12-12 at 3.19.35 PM.png (141.0 KB ) - added by rich@… 12 years ago.
screenshot

Download all attachments as: .zip

Change History (3)

by rich@…, 12 years ago

screenshot

comment:2 by Preston Holmes, 12 years ago

Resolution: worksforme
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top