In Qualtrics MC question type and I have set 5 answers for the question, could i set the first 4 answers in mutliple answers and when user choose the 5th one, it will clear the previous 4 choices..
For example, if i have setup the following
- Choose a number(s):
A1: 1
A2: 2
A3: 3
A4: 4
A5: none
For A1-4, user could multple select the answers. But when choosing A5, it will clear the previous choices in the survey.
How to do that? I have used the below javascript on custom validation of the question but seems wont work.
if (this.getSelectedChoices().length > 0 && this.getSelectedChoices().indexOf(4) > -1) {
this.clearChoices();
}