Conditional Logic: Duplicate Answers for Drop Downs with Same Lists

  • Profile Image
    Asked 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.

    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.  

  • Profile Image
    Answered 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.