- SORGEMAsked on December 12, 2015 at 09:06 AM
Hi -- Upon providing a list of (say) 12 features, I need to ask users to rank only 3 of these by order of importance, from 1 to 3.
I was thinking I could use a either a field per feature and a drop down with 1, 2, 3 as values, but then I need to : 1/ make sure they only rank 3 features, 2/ make sure the 3 values are 1, 2 and 3, vs. twice 1 and once 2 (or so).
Or I could use a matrix, but then again, I'd need to validate to make sure that 3 features are being ranked, and that ranks are uniques (1, 2 and 3).
Any idea? TIA.
- JotForm SupportWelvinAnswered on December 12, 2015 at 04:17 PM
How about using our Orderable List Widget: http://widgets.jotform.com/widget/orderable_list? Please check and let us know if this works for you or not.
Here's our guide on how to add a widget in your form:
I hope this helps.
- SRGMAnswered on December 13, 2015 at 05:02 AM
Thanks for your answer; will that widget let me limit the ranking to 3 values? I don't want users to rank all 12 values in the list, I need them to pick 3 values, then rank only these.
Or is there a way I can break it down so that they select 3 values in a first step (checkboxes with a maximum input values), then pass these to an orderable list? TIA.
- JotForm SupportabajanAnswered on December 13, 2015 at 09:04 AM
I believe our Visual Multi Select widget is probably the best solution for what you want to accomplish. However, let me run a couple tests and get back to you shortly.
- JotForm SupportabajanAnswered on December 13, 2015 at 09:40 AM
Actually, with the Visual Multi Select widget we're going to encounter the same issue of not being able to limit the number of selections. Unless my colleagues can come up with a better solution, you would need to include a separate drop down selector for each feature (like this form), embed the form's full source into a web page and have a custom script limit to 3 the number of drop downs in which a selection can be made. I'll see what script I can devise for this and get back to you ASAP.
- JotForm SupportabajanAnswered on December 13, 2015 at 11:42 AM
Each selector in this demo has the options 1, 2 and 3. If any of those options is selected in any of the drop downs, it is removed from all of the other drop downs. Therefore, only 3 features can be rated. The script which makes this possible can be seen near the bottom of the page source. If a user wants to give a feature a rating already given to another, they would first have to select the default (blank) option in the one already selected. For example, in the demo let's say a user were to rate the features as follows:
and then instead of Accessibility they decided to rate Solar Battery as the second most likeable feature. They would first select the blank option for Accessibility and then select 2 for Solar Battery. (Of course, to avoid any confusion, a note explaining this could always be included on the form.) Do let us know if this sort of functionality would suffice for your purposes.
- SRGMAnswered on December 13, 2015 at 12:42 PM
Thanks a LOT for your input ABAJAN, that'll do fine.
- JotForm SupportjonathanAnswered on December 13, 2015 at 04:51 PM
Thank you for the confirmation. Please let us know if you need further assistance on this.