JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Disable users from selecting same choice twice?Asked by kevinraos on March 06, 2012 at 05:37 PM
What I'm trying to do is have users rank something (1st, 2nd, 3rd, 4th, etc...) and want to make it so they don't accidently select two different options for 2nd place or 3rd place, for example.
What I want is for each item to have a unique answer, and be repeatable. If a user has already chosen their "2nd Place," I don't want them to be able to select 2nd place for something else.
Make sense? Is it possible to do this?
EDIT: NOT be repeatable
How many options does the end users have to rank?
It may be possible to come up with something (which wont be particularly pleasant from a form building perspective) if you have only 5 or 6 different options to rank.
It's 13 now, next week it will be 12, and so on. Basically the last place rank gets elminated, and then there's a new round of voting.
Thanks for your help!
With upto 13 different options to rank, the workaround I was thinking of just becomes impractical.
The nearest I can get with JotForms existing toolset is with a Matrix field, like the top field in this form -> http://form.jotformeu.com/form/20656655421352
That still means a user could make a mistake in his rankings, but you could make a clear warning that voting an option in more than one place will be immediately discarded.
Thank you for your response! Your example makes it much easier to see what you've voted for. I was using a drop-down and that can be confusing.
I will use the matrix form instead.
FXR, Could you share what your other solution would have been if the choices were limited to 6 or less choices? I am currently using the matrix, but it does allow surveytakers to make duplicate rankings.
Thanks for any help!
Sorry about the delay here.
It works well, the problem is you would need to embed the forms full source code onto a webpage so that you can use the script.
Obtaining your forms source code is shown here, option 3. Its just a matter of copying the contents of the text area and pasting it onto your webpage.