How to remove ranking from drag-and-drop question type | XM Community
Solved

How to remove ranking from drag-and-drop question type

  • 28 September 2020
  • 4 replies
  • 257 views

Userlevel 1
Badge

Hi!
I wish to remove the ranking of items within a group when using the drag-and-drop question (from the Pick, group, and Rank question type). In other words, I don't want any number at all to precede the items listed by participants. Does anyone know how to remove this function?
Thanks in advance!
Sofia

icon

Best answer by rondev 28 September 2020, 12:12

View original

4 replies

Userlevel 7
Badge +22

Use the below code in the JS OnReady function of PGR question:
jQuery("#"+this.questionId+" .rank").hide();

Userlevel 1
Badge

thanks so much, that works perfectly!
Do you happen to also know what code I could use to present the list of items that participants are supposed to drag-and-drop (there are 38 words of items) into columns? Like three columns or so. This is to get a better overview of the list of items.

Badge +2

Hi Sofia

I have this same question re the drag-and-drop items being put into columns in the output. Did you ever get a reply?

Also, the javascript above only really gets rid of the rank in the appearance of the survey, the output still shows the ranking. Does anyone know how to get rid of this?

Thanks

Rachel

Badge

Thanks for this tip! I got the rank numbers to remove from the desktop view, but one mobile they still appear. Is there a fix for that please? :)

Leave a Reply