Forum Discussion
Multiple Choice answers with branching per answer
ChrisLangfield , but isn't that human logic? Computers don't think like people.
For a program, doesn't every permutation have to be iterated on the back-end for that routing to take place?
***DISCLAIMER: I am not a programmer***
- RobElliottNov 09, 2021Silver Contributor
Star_D yes that sounds about right to me

Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)- ChrisLangfieldNov 09, 2021Copper Contributor
RobElliott Well, I am a programmer, and I'm used to filtering multiple-choice questions in market research software on the number of boxes that have been ticked. Easy example: build a string of the answers such as ,1,2,3,4,5,6,7,8,9,10, - then check if it contains ,1, or ,2, or ,3, with something simple like find(string,",1,") > 0. I don't know what the underlying language can handle, but things like SQL will cope quite easily. It doesn't have to equal, just contain. I'm concerned that the responses are showing a lack of ambition here. By the way - it should also be possible to make "None" an exclusive answer so that it cannot be ticked if any other answers are ticked, which is fairly basic survey stuff.
- Simon_P735Nov 10, 2021Copper Contributor
ChrisLangfield Agree. My previous replies on this thread suggest having the option of making questions conditional upon previous responses, including multiple select responses, which is what I think you are suggesting too.
There's no scripting language exposed for the form creator to use, and I don't think that would be appropriate for the target audience for MS Forms. However, in other products (e.g. modern SharePoint conditional column formatting) Microsoft have proved themselves eminently capable of embedding ui-based expression builders into their products - so this is very do-able.
* I was first employed as a professional programmer 37 years ago