Is there a possibility to make a question that asks to rank multiple choices in an order? A method like Borda Count (http://en.wikipedia.org/wiki/Borda_count) or Instant-runoff (http://en.wikipedia.org/wiki/Instant-runoff_voting) would be nice.

Let me make it simple with an example: I want users to rank John, Jane and Tom. Each user can give either 1,2 or 3 to each of them. So an example choice would be 1.John, 2.Tom, 3.Jane.

Is it possible with current settings (Grid component is not enough for me because users can give the same number to multiple options) ? If it isn't, this is my feature request.

Thank you and cheers,
Sinan

Comments

seschneck’s picture

It's already possible with the addition of the Webform Validation module (http://drupal.org/project/webform_validation). Use textfields to hold the ranking data. Create two validation rules: Numeric (specify a range limit between 1 and 3) and Unique. Make sure both rules are applied to all three fields.

I don't think the Numeric rule restricts entries to integers, so you might have some trouble if someone decides to get smart and enter a decimal value like 2.5, but technically that still allows you to ranks them within the desired range. You could eliminate that problem by having a 3 item select list for each of John, Jane and Tom; and just using the one Unique rule. Each answer will have to be different from the other two. It doesn't look like this rule can be applied to grid but that still gives you two options to implement this.

Sinan Erdem’s picture

Thank you for your suggestions schneck. They are valuable indeed.

I don't think my users are that computer-savvy to be able to do your suggestions, so I will leave this issue open if the module maintainers decide to implement a method. Advanced Poll module has this functionality.

quicksketch’s picture

Status: Active » Closed (won't fix)

This won't be implemented as a core feature of Webform. Webform isn't a system for voting or ranking.

Sinan Erdem’s picture

quicksketch, although I respect your choice of not implementing such features, Webform's one of typical usages is Polling (as stated on the module page) which I think can include a ranking system.

Anyway, thanks for your answer...