Hi,
I have a question in my survey which contains five sub questions. I am finding a way to remove the “Not applicable” option for sub-questions 3 to 5 (see the picture attached). Could anyone teach me how to do that. Is that possible or I have to split this question into two?
Many thanks for your help!
Solved
How to remove "N/A" options for some sub questions (statements) in a matrix question
Best answer by ahmedA
Qualtrics.SurveyEngine.addOnReady(function () {
let qc = this.questionContainer;
let all_na = qc.querySelectorAll(".last");
all_na[3].hide();
});
Add this code to your js.
The
.lastrefers to the last column of your matrix.
Now
all_nawill contain all the cells of your last column.
You can hide them one by one, just repeat the last line for all the rows you want to hide.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
