Opened 13 years ago

Closed 13 years ago

#11099 closed (invalid)

Working with forms example code - possible typo

Reported by: TomA Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: tomovo@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


In the chapter "Working with forms", subchapter "Customizing the form template", the 3rd code example that deals with looping over the form's errors seems to be trying to loop over items of form.subject.errors. Shouldn't that loop over form.errors instead? That's what works for me at least.

Change History (1)

comment:1 Changed 13 years ago by Matt McClanahan

Resolution: invalid
Status: newclosed

Nope. Each form field has its own errors collection.

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