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.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Feedback
Problem
The account-signup registration questions (
src/Registration/, admin-managed viatemplates/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
AnswerRepositorythe same way child answers are stored.Places to touch
templates/frontend/register-page.phpsrc/Auth/RegistrationPage.phpsrc/Registration/QuestionField.php,src/Registration/AnswerRepository.phpsrc/Registration/RegistrationGate.php— make sure a self-registered student with unanswered questions is gated the same waydocs/features/registration-questions.mdtests/Unit/Auth/RegistrationPageTest.php,tests/Unit/Registration/Related
Depends on the three-way "who are you registering?" choice.