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 prevPage() and nextPage() methods switch between pages incorrectly when the survey is in question-per-page mode #9330

Closed
JaneSjs opened this issue Jan 16, 2025 · 0 comments · Fixed by #9392
Assignees
Labels
bug user issue An issue or bug reported by users

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Jan 16, 2025

T21475 - Custom navigation with single question per page mode
https://surveyjs.answerdesk.io/internal/ticket/details/T21475


View Demo
To reproduce the issue, click a custom Next Page button. A survey appears as follows:

Image
Additionally: the onCurrentPageChanged function is not triggered when a user navigates to the next form input field using default Prev/Next navigation buttons.

Expected behavior - a page with the next question appears.

Image

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels Jan 16, 2025
andrewtelnov added a commit that referenced this issue Feb 3, 2025
…y navigate to the previous and next pages when a survey displays each question on a separate page fix #9330
andrewtelnov added a commit that referenced this issue Feb 4, 2025
…y navigate to the previous and next pages when a survey displays each question on a separate page fix #9330 (#9392)
@RomanTsukanov RomanTsukanov changed the title The survey.prevPage() and survey.nextPage() function doesn't correctly navigate to the previous and next pages when a survey displays each question on a separate page The prevPage() and nextPage() methods switch between pages incorrectly when the survey is question-per-page mode Feb 4, 2025
@RomanTsukanov RomanTsukanov changed the title The prevPage() and nextPage() methods switch between pages incorrectly when the survey is question-per-page mode The prevPage() and nextPage() methods switch between pages incorrectly when the survey is in question-per-page mode Feb 4, 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.

3 participants