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

    Conditional Logic: Duplicate Answers for Drop Downs with Same Lists

    Asked by jchouse14 on March 23, 2011 at 05:01 PM

    I have a form that, for simplicity sakes, contains 2 fields.
    Field 1 = a list of names

    Field 2 = a list of names

    Both lists are the exact same values.

     

    What I want is: If the user selects Name1 in Field 1, I either want name1 to not appear in the list for Field2 or to at least give an error message if Name1 is selected for both Field1 and Field2.


    Ex> 
    Player 1: Tom Jones (this was selected by the user)
    Player 2: Tom Jones (this was selected by the user again)

    Error: You have a duplicate value selected. Please check your entry.
    I either want Tom Jones to be removed from the second list if he's picked from the first field (this eliminates the abiltiy for duplicate entry) or a way to check the form for duplicate entries and present the user with an error message. 

    Now, I know there's one option: create one list where the Name is removed. So, if I have 10 names in the list, create 10 lists. But this isn't feasible considering the list has over 100 names.  

    Page URL:
    http://housesotherpools.blogspot.com/p/masters-pool.html

    Screenshot
  • Profile Image
    JotForm Support

    Answered by NeilVicente on March 24, 2011 at 02:13 AM

    This is not possible within the bounds of Jotform's Form Builder. The only workaround I could see is, like you said, create multiple lists that shows and hides based on the choice made on the previous list.