Files
xamxam/TODO.md
Pontoporeia 1b02ccb1d5 fix: mark languages as required, add required-field visual indicators on both forms
- checkbox-list.php: support $required prop → adds required + aria-required on fieldset
- add.php: languages checkbox now marked required (matches server-side validation)
- partage/index.php: same for student form
- admin.css: dashed border on required inputs, bold labels, red asterisk via :has(), "Champs obligatoires" note
- Both forms now show "* Champs obligatoires" note at top

Server-side required fields = titre, auteurice, synopsis, année, orientation, ap, finality, languages (≥1), access_type_id, confirmation_email. All now have required attribute + visual asterisk.
2026-04-20 16:19:55 +02:00

472 B

[x] Audit required fields in both admin and student forms [x] Fix: checkbox-list.php partial supports $required (fieldset gets required + aria-required) [x] Mark languages checkbox list as required in both forms [x] Added visual * indicator on all required fields (CSS bold labels + red asterisk) [x] Added "* Champs obligatoires" note at top of both forms [x] Verified: all server-side required fields match client-side required attrs and visual indicators