Saves the user's onboarding survey answers to survey_responses.
Validates the submitted form data against SurveyAnswersSchema before
writing. Duplicate submissions (Postgres error 23505) are silently ignored —
the user is simply forwarded to /results. On any other DB error the action
returns an error message so the form can try again.
Saves the user's onboarding survey answers to
survey_responses.Validates the submitted form data against SurveyAnswersSchema before writing. Duplicate submissions (Postgres error 23505) are silently ignored — the user is simply forwarded to
/results. On any other DB error the action returns an error message so the form can try again.