Hide answers
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 code of the single choice question you want to configure
single_choice({
question_code: "Q1",
});
hide_aswers
This variable that is a list inside brackets [] with the answer codes in this single choice question you want to hide.
If not needed, just remove this entire block code and skip this tutorial π
π‘Useful when need to remove answer options but custom Javascript codes depend of the existing options.
single_choice({
question_code: "Q1",
hide_answers: [1, 2]
});
Last updated
Was this helpful?