What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    In a Range of Dropdowns Each Having the Same Options, Is It Possible to Limit the Number of Times Each Option Can Be Selected to Once?

    Asked by SORGEM 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.

    limit selections drop downs dropdowns limit ratings limit to once limit to one time range of dropdowns range of drop downs
  • Profile Image
    JotForm Support

    Answered by Welvin 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: 

    http://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form

    I hope this helps.

  • Profile Image

    Answered by SRGM 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.

  • Profile Image
    JotForm Support

    Answered by abajan 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.

    Thanks

  • Profile Image
    JotForm Support

    Answered by abajan 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.

  • Profile Image
    JotForm Support

    Answered by abajan on December 13, 2015 at 11:42 AM

    Hi again,

    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:

    Sturdiness: 1

    Accessibility: 2

    Size: 3

    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.

    Thanks

  • Profile Image

    Answered by SRGM on December 13, 2015 at 12:42 PM

    Thanks a LOT for your input ABAJAN, that'll do fine.

  • Profile Image
    JotForm Support

    Answered by jonathan on December 13, 2015 at 04:51 PM

    Thank you for the confirmation. Please let us know if you need further assistance on this.

    Regards,