Drag and Drop Horizontally | XM Community
Skip to main content

Drag and Drop Horizontally

  • February 11, 2023
  • 3 replies
  • 177 views

Forum|alt.badge.img

I was trying to create a question where subjects will be given a JUMBLED sentence and will be asked to rearrange them. Instead of rewriting the sentence, I would need them to rearrange a certain number of word blocks to create the right sentence. 
However, it seems like qualtrics has an option - drag and drop- that allows only to rank them vertically instead of a horizontal rearrangement. 
 
For your help, here is a sample of what I need:
 
Jumbled sentence: created everyone is equal. 
Rearranged sentence: everyone is created equal. 
 

3 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • February 12, 2023

There is no built-in way to do this type of question. You would have to write JavaScript to do the reordering and capturing of the "answer".


Forum|alt.badge.img
  • Author
  • February 13, 2023

Hi,
Could you suggest any code or link about the code for JavaScript?


Forum|alt.badge.img+2
  • Level 2 ●●
  • June 2, 2023

Dear Raaz8522, I am running into the same problem you ran into. I am curious how you ended up solving your problem?