Solved
Select maximum amount of choices in multiple choice

Hey guys! I know there is validation that doesn't allow a respondent to proceed if he/she has selected more than the amount I limit for him to choose. However, my problem is that I want them to be able to choose up to three choices, but if they click a fourth either qualtrics doesn't let them or another option becomes unclicked.
Is there any way to do this easily?
Best answer by NiC
If you want the error to be shown after next is selected
Yes, there is a way in Qualtrics by Default
!
You can give it the atleast or atmost values
where as if you want it to be the instant the option is selected
this.questionclick = function(event,element){
var selectedchoice=this.getSelectedChoices();
if(selectedchoice.length==4){
jQuery("#NextButton").click()
}
}
and you need to add the validation here too
!
also change the max number from "3" to whatever you like in the code given above.
and place it in onload function
but it should be the same in validation and code
View original

Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.