Django

Code

Ticket #4063 (closed: duplicate)

Opened 2 years ago

Last modified 2 years ago

Custom error messages for each fields

Reported by: ville.anttonen@gmail.com Assigned to: adrian
Milestone: Component: Forms
Version: SVN Keywords:
Cc: Triage Stage: Design decision needed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Even it's nice that you have default validation/error messages (if you're american/english) it would be better so that those could be overridden just like in the RegexField? - field with errormessage - parameter. If multiple errors could occur then messages could be defined with dictionary for example.

Attachments

Change History

04/28/07 17:22:44 changed by Simon G. <dev@simon.net.nz>

  • needs_better_patch changed.
  • stage changed from Unreviewed to Design decision needed.
  • needs_tests changed.
  • needs_docs changed.

05/03/07 21:22:16 changed by anonymous

See also #3457.

N.B. I think that the solution proposed in this ticket is much nicer.

05/14/07 09:52:16 changed by Gary Wilson <gary.wilson@gmail.com>

  • status changed from new to closed.
  • resolution set to duplicate.

Duplicate of #3457.


Add/Change #4063 (Custom error messages for each fields)




Change Properties
Action