question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A question for drag and drop ranking. Allows respondents to rank items against each other by placing them in order of preference. Is appropriate for short lists (e.g. 5-7 items). Is optimized for use with keyboard (Tab, Shift-Tab, and Up/Down arrow keys) and under mobile devices.

const json = {
  "questions": [
    {
      "type": "ranking",
      "name": "smartphone-features",
      "title": "Please rank the following smartphone features in order of importance:",
      "isRequired": true,
      "choices": [
        "Battery life",
        "Screen size",
        "Storage space",
        "Camera quality",
        "Durability",
        "Processor power",
        "Price"
      ]
    }
  ]
};

new Survey.Model(json);

here the example: https://surveyjs.io/Examples/Library?id=questiontype-ranking

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dmitrykurmanovcommented, Feb 15, 2021

@aanavaneeth we’ve discussed that idea with the team. And we think that it make sense especially for ranking. We also have the same feature request for the dropdown question (like select2). And we’ll add the feature to our “todo”. Here the issue: https://github.com/surveyjs/survey-library/issues/2666. Thanks.

0reactions
dmitrykurmanovcommented, Feb 9, 2021

@aanavaneeth we’ll discuss it with the team

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ranking Questions: Dos and Don'ts in 2021 - Qualtrics
Ranking questions are a survey question type aimed at getting respondents to order a list of answers into a ranked order, providing quantitative ......
Read more >
Ranking Question - SurveyMonkey Help
The Ranking question asks respondents to compare items to each other by placing them in order of preference. An average ranking is calculated...
Read more >
Survey Rating Questions vs. Ranking Questions - Snap Surveys
A ranking question on the other hand asks survey respondents to compare a list of different objects to one another (e.g. “Please rank...
Read more >
Ranking question - Help Center - Typeform
Use the Ranking question to compare different items to each other, for example, to rank people's most and least favorite celebrities.
Read more >
Creating a Ranking Survey: Interactive Guide, Template
A ranking question is also referred to as an ordinal-polytomous survey question. Ordinal meaning relative to an order and polytomous meaning more than...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found