
Declare a Django Form with typed required fields so the contact view stores validated data only.
Read the full problemAdd per-field validation with a clean_<field> method and a reusable validator shared across two forms.
Read the full problemCompare two password fields in the form's clean() method and render field and non-field errors in the template.
Read the full problemBuild an event registration form end to end: typed required fields, a reusable validator, per-field and cross-field rules, error rendering and the view flow.
Read the full problem