What is the general goal of the feature?
As a survey designer, I want to ask subjects to rank certain choices.
Currently users can get something like this functionality using choice filters (Rank options) but it's clunky. The idea would be to add a new widget that lets users drag and drop items into the desired order.
There has been discussion on the specification at https://github.com/opendatakit/xforms-spec/issues/104. The current proposal is to introduce a new
odk:rank control element that works the same way as
select but for which the order of the responses is meaningful. @TSC, any comments on that proposal?
@Grzesiek2010 has worked on a first pass at a possible interface:
@danbjoseph asked here whether this dragging could be difficult on certain devices.
What are some example use cases for this feature?
Ordering elements by most liked, most important, most likely, etc.
- Medecine: rank the following symptoms
- Household wellbeing survey: rank the importance of these household items
There has been significant demand for this over time:
- Single select ranking
- Building ODK code to 'rank' answers?
Cannot form a 'ranking question' in XLS Form (nice solution from @Curtis_Broderick using a
field-list, minimal select ones and an error page with relevance and constraint)
- Ranking question
- Multiple answers ranked in order of importance
- Ranking choices from a multiple select in a repeat loop (without duplicates)
What can you contribute to making this feature a reality?
Project management, code, testing.