Skip to content

Conditional questions: go to a question after checkbox questions - #3834

Draft
AndyScherzinger wants to merge 1 commit into
feat/conditional-questions-1-basefrom
feat/conditional-questions-2-checkboxes
Draft

AndyScherzinger wants to merge 1 commit into
feat/conditional-questions-1-basefrom
feat/conditional-questions-2-checkboxes

Conversation

@AndyScherzinger

@AndyScherzinger AndyScherzinger commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Part 2 of the conditional questions stack, based on #3123 by Micke Nordin with the fixes by TimedIn. Based on #3833; the "Files changed" tab shows only this part.

Stack

  1. Conditional questions: go to a question based on the answer #3833 Conditional questions: go to a question based on the answer
  2. Conditional questions: go to a question after checkbox questions #3834 Conditional questions: go to a question after checkbox questions ← this PR
  3. Conditional questions: go to a question after date and time questions #3835 Conditional questions: go to a question after date and time questions
  4. Conditional questions: go to a question based on the value of a linear scale #3837 Conditional questions: go to a question based on the value of a linear scale

This PR

Checkbox questions get "Go to after this question", as in Microsoft Forms: one target for the whole question, whichever options are checked. Several checked options cannot lead to different targets, so there is no target per option.

  • multiple accepts extraSettings.next;
  • matching cases added to the shared fixture, docs and tests.

Tests

  • PHPUnit passes, except the 3 IUserFolder errors main has as well on the test instance.
  • php-cs-fixer and psalm show no new findings; vue-tsc shows no new errors compared to main; eslint is clean for the changed files; the build works.
  • Tested on a running instance: a checkbox question jumps over the questions after it; axe reports no violations from this stack.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from 97bcf09 to 924a809 Compare November 4, 2026 14:07
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from b833f24 to 9d9b414 Compare November 4, 2026 14:07
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch 2 times, most recently from d06f7a4 to fc6e821 Compare November 4, 2026 16:51
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch 2 times, most recently from 21f29c0 to c2cf51a Compare November 5, 2026 11:10
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch 2 times, most recently from 1859666 to 25ab176 Compare November 7, 2026 15:29
@AndyScherzinger AndyScherzinger changed the title Conditional questions: checkboxes as trigger Conditional questions: branches on checkboxes Nov 7, 2026
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from 25ab176 to 87eb88f Compare November 7, 2026 15:41
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch 2 times, most recently from 025620c to ce2e434 Compare November 8, 2026 18:03
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from 87eb88f to af4bacf Compare November 8, 2026 18:03
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from ce2e434 to 06bd420 Compare November 9, 2026 11:40
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from af4bacf to 17b0938 Compare November 9, 2026 11:40
@AndyScherzinger
AndyScherzinger marked this pull request as draft November 9, 2026 21:38
@AndyScherzinger AndyScherzinger added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Nov 9, 2026
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from 06bd420 to 461fcc7 Compare November 10, 2026 00:47
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from 17b0938 to 95ed77a Compare November 10, 2026 00:47
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from 461fcc7 to 6fdfb64 Compare November 10, 2026 01:08
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from 95ed77a to 1d34ba0 Compare November 10, 2026 01:08
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from 6fdfb64 to c87b478 Compare November 10, 2026 06:14
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch 2 times, most recently from 3db6df7 to cd34bd3 Compare November 10, 2026 08:20
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from c87b478 to b8ff185 Compare November 10, 2026 08:20
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from cd34bd3 to fc69764 Compare November 10, 2026 08:31
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from b8ff185 to 08b0809 Compare November 10, 2026 08:31
@AndyScherzinger AndyScherzinger self-assigned this Nov 10, 2026
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from 08b0809 to ebc2994 Compare November 10, 2026 10:12
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from fc69764 to 4fc0dfd Compare November 10, 2026 10:12
@AndyScherzinger AndyScherzinger changed the title Conditional questions: branches on checkboxes Conditional questions: go to a question after checkbox questions Nov 10, 2026
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from ebc2994 to 5593a5f Compare November 10, 2026 12:33
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from 4fc0dfd to 55cfef3 Compare November 10, 2026 12:33
Checkbox questions get "After this question" in extraSettings.next,
one target for the whole question whichever options are checked, as in
Microsoft Forms. Several checked options cannot lead to different
targets, so there is no target per option.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from 55cfef3 to 40a6ee2 Compare November 10, 2026 12:34
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from 5593a5f to d76152c Compare November 10, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant