Registration questions are not captured when someone registers for themselves #146

Closed
opened 2026-07-29 23:20:03 +00:00 by thatguygriff · 0 comments
Owner

Feedback

When someone is booking for themselves capture the registration questions

Problem

The account-signup registration questions (src/Registration/, admin-managed via templates/admin/questions.php) are collected for students added as children, but not for an account holder registering themselves. Their answers are never asked for or stored.

Expected

When the registrant is a student themselves — the "Myself" or "Both" case — render the account-signup questions for the account holder and store their answers via AnswerRepository the same way child answers are stored.

Places to touch

  • templates/frontend/register-page.php
  • src/Auth/RegistrationPage.php
  • src/Registration/QuestionField.php, src/Registration/AnswerRepository.php
  • src/Registration/RegistrationGate.php — make sure a self-registered student with unanswered questions is gated the same way
  • docs/features/registration-questions.md
  • tests/Unit/Auth/RegistrationPageTest.php, tests/Unit/Registration/

Related

Depends on the three-way "who are you registering?" choice.

## Feedback > When someone is booking for themselves capture the registration questions ## Problem The account-signup registration questions (`src/Registration/`, admin-managed via `templates/admin/questions.php`) are collected for students added as children, but not for an account holder registering themselves. Their answers are never asked for or stored. ## Expected When the registrant is a student themselves — the "Myself" or "Both" case — render the account-signup questions for the account holder and store their answers via `AnswerRepository` the same way child answers are stored. ## Places to touch - `templates/frontend/register-page.php` - `src/Auth/RegistrationPage.php` - `src/Registration/QuestionField.php`, `src/Registration/AnswerRepository.php` - `src/Registration/RegistrationGate.php` — make sure a self-registered student with unanswered questions is gated the same way - `docs/features/registration-questions.md` - `tests/Unit/Auth/RegistrationPageTest.php`, `tests/Unit/Registration/` ## Related Depends on the three-way "who are you registering?" choice.
thatguygriff added the bug label 2026-07-29 23:20:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Unsupervised/unsupervised-scheduler#146