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.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 #9330

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

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Jan 16, 2025

We changed our current behavior. We do not create new pages for every question anymore. We render just one question per page.
Please call the following functions:

survey.performNext();
survey.performPrev();

Adrew


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
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

No branches or pull requests

3 participants