Skip to content
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

The survey.onValidatedErrorsOnCurrentPage function is not raised when a user attempts to navigate to another page using Table Of Contens when a page contains validation errors #9241

Closed
JaneSjs opened this issue Dec 31, 2024 · 0 comments · Fixed by #9246
Assignees
Labels
bug user issue An issue or bug reported by users

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Dec 31, 2024

T21266 - Issues with Navigation and Scrolling in SurveyJS Integration with Angular
https://surveyjs.answerdesk.io/internal/ticket/details/T21266


The survey.onValidatedErrorsOnCurrentPage function is not raised when a user attempts to navigate to another page without answering mandatory questions. Please test the following demo: View Demo.
When using the Next button, the alert appears:
When using TOC to navigate to another page, the validation occurs, however, the alert doesn't appear because the onValidatedErrorsOnCurrentPage function is not raised.

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Dec 31, 2024
@andrewtelnov andrewtelnov self-assigned this Jan 1, 2025
andrewtelnov added a commit that referenced this issue Jan 1, 2025
… a user attempts to navigate to another page using Table Of Contens when a page contains validation errors fix #9241
@tsv2013 tsv2013 closed this as completed in c198254 Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants