Repository navigation
Conditional questions: branches on linear scale and color - #3837
AndyScherzinger wants to merge 1 commit into
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
624a98f to
5734f04
Compare
21c5283 to
fe30885
Compare
5734f04 to
6e7c64d
Compare
|
Sorry i didnt have the time to check it currently. But my two cents regarding trigger. For my use case we would need the linear scale as a number input for higher/lower than, which is not possible using choice/options (and is not ideal using number input), for a "How many people do you want to signup" (with Name etc per Person). Thats why i would seperate it from color, as i See no real usecase for color trigger (except some specific quizzes or sth, and then its also possible to use the choice or Text input) |
|
@timedin-de did you already have a look at this feature request? #1728 For me, it sounds a bit more like this is what you would like to achieve? |
fe30885 to
f1898c5
Compare
6e7c64d to
7124f48
Compare
Yes a proper implementation would probably be better, but as you already posted there, its a rather complicated edge case probably not beeing implemented in near future. My case was just this workaround (similar to our current Google forms, [in Gforms we use a nested checkbox "you want to signup more people?]), was: |
|
Ok, but why would you need the linear scale then instead of the radio question? |
I guess Radio doesnt support < and > (so in this use case you would need to have 1 Participant in Branch one, 2 Participants in Branch 2 etc. With < you only need one new Participant per Branch Branch 1: Name 1 vs |
7124f48 to
bdd436e
Compare
b287cc5 to
9214258
Compare
bdd436e to
8e890c3
Compare
8e890c3 to
97c9416
Compare
9214258 to
2e47a17
Compare
97c9416 to
d00994a
Compare
2e47a17 to
b8de1b0
Compare
d00994a to
b64e46f
Compare
A linear scale question opens a branch when its value equals, does not equal, lies within a range, or is above a minimum or below a maximum. A color question opens a branch when the color matches, ignoring case. The color button names the selected color for screen readers. The code comes from the original pull request #3123 by Micke Nordin and TimedIn, with the review fixes applied. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
b64e46f to
6122c00
Compare
b8de1b0 to
c5f88a4
Compare
Part 5 of the conditional questions stack from #3123 (by Micke Nordin, with fixes by TimedIn and the review fixes). Based on #3836; the "Files changed" tab shows only this part.
Stack
This PR
A linear scale question shows a branch when its value equals, does not equal, lies within a range, or is above a minimum or below a maximum. A color question shows a branch when the color matches, ignoring case.
Tests
IUserFoldererrorsmainhas as well.🤖 AI (if applicable)