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 one target after the question (next), as in Microsoft Forms.
  • No target per option, as several checked options could lead to different questions.

Tests

  • PHPUnit passes, except the 3 IUserFolder errors main also has on the test instance.
  • psalm, php-cs-fixer and eslint are clean; vue-tsc shows no new errors; the build works.
  • Tested on a running instance; axe reports no violations.

🤖 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 a7689e5 to f5455f3 Compare November 10, 2026 15:17
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch 2 times, most recently from ce4f3a6 to ed96282 Compare November 10, 2026 17:54
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from f5455f3 to 434f16d Compare November 10, 2026 17:54
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from ed96282 to 0c12106 Compare November 10, 2026 18:25
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from 434f16d to 079ae5a Compare November 10, 2026 18:25
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from 0c12106 to ad1d584 Compare November 10, 2026 18:32
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch 2 times, most recently from f3ebde2 to bc234d5 Compare November 10, 2026 18:40
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch 2 times, most recently from 22240d0 to 4ccb062 Compare November 10, 2026 18:45
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from bc234d5 to 9dffc4f Compare November 10, 2026 18:45
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from 4ccb062 to 47a4c36 Compare November 10, 2026 19:10
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch from 9dffc4f to 50037ab Compare November 10, 2026 19:10
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from 47a4c36 to f6ad006 Compare November 10, 2026 21:09
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch 2 times, most recently from b8ac65f to edd79a6 Compare November 10, 2026 22:31
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch 2 times, most recently from 49d2b31 to f6ac648 Compare November 10, 2026 22:37
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch 2 times, most recently from 1097442 to c14b078 Compare November 10, 2026 22:52
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from f6ac648 to 606906f Compare November 10, 2026 22:52
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch 2 times, most recently from fe1162b to c44aeba Compare November 11, 2026 06:07
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch 2 times, most recently from 8c15e5a to b2161c8 Compare November 11, 2026 07:25
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-2-checkboxes branch 2 times, most recently from 1165809 to b292c72 Compare November 11, 2026 09:08
@AndyScherzinger
AndyScherzinger force-pushed the feat/conditional-questions-1-base branch from b2161c8 to 22a1ccf Compare November 11, 2026 09:08
Checkbox questions get the select "After question N", stored 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>
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