Drag and Drop custom code needed | XM Community
Skip to main content
Solved

Drag and Drop custom code needed

  • October 18, 2018
  • 1 reply
  • 15 views

Has anyone created a custom code to be able to reuse items when using Drag and Drop? There will up to 20 items that can be sorted into 10 boxes, and I want respondents to be able to put a single item in more than one box. Thank you!

Best answer by TomG

Items (aka choices) can't be reused. Even if you created code that duplicated the choices so that they could be put in multiple boxes, Qualtrics wouldn't record it. You could create 10 choices with the same label for each of your 20 items (200 choices total). You could write some code that hides the 9 duplicates until the first one is dragged into a box, then unhides the next one. The code and the resulting data would be complex.
View original

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5940 replies
  • Answer
  • October 18, 2018
Items (aka choices) can't be reused. Even if you created code that duplicated the choices so that they could be put in multiple boxes, Qualtrics wouldn't record it. You could create 10 choices with the same label for each of your 20 items (200 choices total). You could write some code that hides the 9 duplicates until the first one is dragged into a box, then unhides the next one. The code and the resulting data would be complex.

Leave a Reply