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

    Restrict dropdown box to stop duplicate entries

    Asked by i2iPure on July 15, 2014 at 06:01 AM

    Hi,

    I want to create a form with 5 drop down boxes to create a ranking system. For this there will be 5 variables (numbers 1 to 5). 

    Is there a away to restrict the drop down options they choose? ie. if the user selects number 2 on one of the drop down boxes, this option cannot be selected again on the additional 4 drop downs.

    You advise would be greatly appreciated.

    Thanks,

    i2iPure

    Page URL:
    http://jotformeu.com/form/41951962783365

    create a form variables create selected
  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 15, 2014 at 08:09 AM

    Hello i2iPure,

    Please be noted that it is not possible to dynamically add or remove the option items from any drop box questions.

    You may like to take a look at our "Dynamic Dropdowns" widget which you can configure to be loaded dynamically. Please take a look at the following sample demo form I created :  http://form.jotformpro.com/form/41953085995974?

    If the widget option does not work for you then only option is to download your form's full source code and add your own script to remove the items from your drop down fields.

    You may also like to take a look at our conditions feature as well. Though you cannot dynamically load your drop down options but you can check the value and show a warning to your user.

    Hope this helps.

    Do get back to us if you have any question.

    Thank you!