Can I limit the number of items that respondents could distribute a 100 pts to in a constant sum Q? | XM Community
Question

Can I limit the number of items that respondents could distribute a 100 pts to in a constant sum Q?

  • 16 October 2020
  • 5 replies
  • 21 views

Hello,
In my survey I ask respondents to rate several items from 1 to 7. A follow up question has a display logic that only shows the items rated as 6 or 7. I ask the respondents to distribute a 100 points among those highly rated items in a constant sum question. BUT--> I want a way to limit their distribution of a 100 to up to 5 items, not more. Is there a way to make this possible?
Thanks in advance for your help.
Dalal


5 replies

Userlevel 7
Badge +27

Use Advanced Randomization to show random subset of 5.

Thanks for your reply TomG . But I want the respondents to decide on the (up to 5) statements they want to assign points to, instead of showing a random subset. For example, 7 statements could be shown but the question forces entries in only 5 or less statements.

Userlevel 7
Badge +27

https://www.qualtrics.com/community/discussion/comment/31201#Comment_31201Sorry, I misunderstood. Off-hand, the only way I can think of is to use JS to count the number of rows with values greater than zero each time a value is entered, then disable the inputs with a value of zero if there are already 5 with values greater than zero.

https://www.qualtrics.com/community/discussion/comment/31203#Comment_31203Thanks TomG That would work actually. Can you please help me with the code? I am not really familiar with JS, I tried but couldn't tbh 😅

Userlevel 7
Badge +27

https://www.qualtrics.com/community/discussion/comment/31209#Comment_31209Post your code.

Leave a Reply