Skip to content

[WIP] Refactor response cleanup code #5870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: fix/page_visibility_for_validation
Choose a base branch
from

Conversation

dsamojlenko
Copy link
Member

@dsamojlenko dsamojlenko commented Jul 10, 2025

Summary | Résumé

Subsequent to #5779
Refactors some code that fires post-validation and pre-submit that cleans up the response values before sending to the server action. Uses the new checkVisibilityRecursive function to remove responses to question that should not be visible (ie, user went down one path, backed up and completed down another path)

TBD: this cleanup could move to the serverAction post validation before processing data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant