Exclusive answers

To enable exclusive answers for multiple choice matrices, import the library as described in the Getting started section.

Once you have completed the main steps, you will need to modify the parameters in the provided template snippet to apply the changes.

Variable
Example

question_code The single choice matrix question code you want to configure

multiple_choice_matrix({
    question_code: "Q3"
});

exclusive_answers Here we define settigs for exclusive answers. If not needed, just remove this entire block code and skipt this tutorial.

multiple_choice_matrix({
    question_code: "Q3",
    exclusive_answers: {

    }
});

exclusive_answers -> vertical A variable with a list of row codes that will be hidden.

multiple_choice_matrix({
    question_code: "Q3",
    exclusive_answers: {
        vertical : [3, 4]
    }
});

Last updated

Was this helpful?