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

Randomizing questions on a page doesn't work when the survey is in question-per-page mode #9385

Closed
SamMousa opened this issue Jan 31, 2025 · 0 comments · Fixed by #9386
Closed
Assignees
Labels
bug user issue An issue or bug reported by users

Comments

@SamMousa
Copy link
Contributor

Describe the bug
Random question order no longer works in questionPerPageMode.

I get the technical cause of this, ie. you no longer make pages on the fly. But this significantly changes behavior.
Up until 1.12.15 the questionPerPageMode didn't fundamentally change behavior; since 1.12.16 it does.

{
  "pages": [
    {
      "name": "page1",
      "questionsOrder": "random",
      "elements": [
        {
          "type": "radiogroup",
          "name": "question1",
          "choices": [
            "Item 1",
            "Item 2",
            "Item 3"
          ]
        },
        {
          "type": "checkbox",
          "name": "question2",
          "choices": [
            "Item 1",
            "Item 2",
            "Item 3"
          ]
        },
        {
          "type": "dropdown",
          "name": "question3",
          "choices": [
            "Item 1",
            "Item 2",
            "Item 3"
          ]
        }
      ]
    }
  ],
  "questionsOnPageMode": "questionPerPage",
}

This json does not behave the same between 1.12.15 and 1.12.16.

@andrewtelnov andrewtelnov self-assigned this Jan 31, 2025
@andrewtelnov andrewtelnov added bug user issue An issue or bug reported by users labels Jan 31, 2025
@tsv2013 tsv2013 closed this as completed in 5f85cba Feb 3, 2025
@RomanTsukanov RomanTsukanov changed the title Randomizing questions on a page no longer works in questionPerPage mode Randomizing questions on a page doesn't work 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
2 participants