Registration questions (per-offering intake forms) #5

Closed
opened 2026-06-05 12:57:16 +00:00 by thatguygriff · 1 comment
Owner

Per-offering intake questions a registrant must answer; answers stored against the lesson or enrolment.

Spec: docs/features/registration-questions.md

Scope

  • New tables {prefix}us_questions (offering_id, label, field_type, options JSON, is_required, sort_order, is_active) and {prefix}us_question_answers (polymorphic registration_type/registration_id)
  • Domain package src/Registration/: Question, Answer, QuestionRepository, AnswerRepository, QuestionController, QuestionEndpoint
  • REST: GET /offerings/{id}/questions (public); POST/PATCH/DELETE /questions (manage_questions + owner)
  • Questions edited from each offering's screen
  • Required questions block registration submission

Acceptance

  • Field types text/textarea/select/checkbox render and validate; answers persisted with the registration; tests under tests/Unit/Registration/ passing
Per-offering intake questions a registrant must answer; answers stored against the lesson or enrolment. **Spec:** `docs/features/registration-questions.md` ## Scope - New tables `{prefix}us_questions` (offering_id, label, field_type, options JSON, is_required, sort_order, is_active) and `{prefix}us_question_answers` (polymorphic `registration_type`/`registration_id`) - Domain package `src/Registration/`: `Question`, `Answer`, `QuestionRepository`, `AnswerRepository`, `QuestionController`, `QuestionEndpoint` - REST: `GET /offerings/{id}/questions` (public); `POST/PATCH/DELETE /questions` (`manage_questions` + owner) - Questions edited from each offering's screen - Required questions block registration submission ## Acceptance - Field types text/textarea/select/checkbox render and validate; answers persisted with the registration; tests under `tests/Unit/Registration/` passing
thatguygriff added the feature label 2026-06-05 12:57:16 +00:00
Author
Owner

Closing as complete. Implemented and merged in PR #11 (Registration Questions domain).

Closing as complete. Implemented and merged in PR #11 (Registration Questions domain).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Unsupervised/unsupervised-scheduler#5