Ranking and rating | XM Community
Skip to main content
Solved

Ranking and rating

  • October 10, 2018
  • 5 replies
  • 15 views

Hello, I want to have respondents first rank different statements (let's say there are 20) and then have them provide a score to each of them (the first statement gets 100, and then the other statements get lower scores based on their relative importance). Is there a way I can have the respondents first rank the objectives, and then have the next question include this ranking. By this I mean having the order of the statements displayed in the order of the ranking of the previous question. I tried to do this with the display logic options but could not find how. Thanks

Best answer by TomG

Yes, but you have to use JavaScript in the follow-up question to sort the criteria based on ranking then reorder them.

5 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • October 10, 2018
Yes, but you have to use JavaScript in the follow-up question to sort the criteria based on ranking then reorder them.

  • Author
  • October 10, 2018
Thanks Tom! Great to know it's possible. Do you know if there is a place where I can find some information about javaScript (maybe some introduction or an explanation of how to do my special need). I have no knowledge whatsoever of JavaScript. Thanks

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • October 10, 2018
> @petersgu said: > Thanks Tom! Great to know it's possible. Do you know if there is a place where I can find some information about javaScript (maybe some introduction or an explanation of how to do my special need). I have no knowledge whatsoever of JavaScript. > Thanks What you really want to learn is jQuery. But to learn jQuery you first have to understand HTML, CSS, and JavaScript. You can start here: https://www.w3schools.com/default.asp

NiC
QPN Level 5 ●●●●●
Forum|alt.badge.img+27
  • QPN Level 5 ●●●●●
  • October 10, 2018
Hi @petersgu JavaScript is a wide topic , here are good places to learn javascript 1. W3Schools.com 2. CodeAcademy the first one is great and free to learn You can see the custom code section in community(this one) to see examples of custom codes.

  • Author
  • October 10, 2018
Thank you both of you! I guess I have tons of work now. It's something I have on my to do list for years...