Skip to content

feat: extra settings for ranking question type #3378

@sharko789

Description

@sharko789

Nextcloud:

  • Nextcloud-Version: N/A
  • Forms-Version: 5.3.0-alpha.0

Is your feature request related to a problem? Please describe.
I am regularly holding a vote through Nextcloud Forms where users have to rank a subset from a list of options. The results are then weighted using a Borda count. (n points for the first/top choice, 1 point for the last/lowest choice)

Describe the solution you'd like
The new ranking question type is great and almost exactly what I need. The only problem is, that it forces the user to rank all available options. There already exists the extra setting optionsLimitMax for the multiple question type, so could that be implemented for the ranking as well? (and optionsLimitMin should probably be implemented alongside it)
The Borda count code would have to be modified as well to be based on the amount of actually submitted options instead of all available options.

Describe alternatives you've considered
I am currently working around this limitation by using multiple dropdown inputs (one for each choice), exporting the submissions as CSV and pipe them through some python code to sort out potential duplicates and do the actual weighted counting.

Additional context
#1278
#3262
@datapumpernickel would you be willing to work on this or should someone else take a look at it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.enhancementNew feature or request
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions