Hide rows and columns
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.
single_choice_matrix({
    question_code: "Q3",
    hide_answers: {
        rows: [1, 3, 5],
        columns: [2, 4]
    }
});hide_answers
Here we define settings to hide rows and columns. If not needed, just remove this entire block code and skip this tutorial π
single_choice_matrix({
    question_code: "Q3",
    hide_answers: {
        rows: [1, 3, 5],
        columns: [2, 4]
    }
});hide_answers -> rows
A variable that holds a list of row codes that should be hidden.
single_choice_matrix({
    question_code: "Q3",
    hide_answers: {
        rows: [1, 3, 5],
        columns: [2, 4]
    }
});hide_answers -> columns
A variable that holds a list of columns codes that should be hidden.
single_choice_matrix({
    question_code: "Q3",
    hide_answers: {
        rows: [1, 3, 5],
        columns: [2, 4]
    }
});Last updated
Was this helpful?