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

    New dropdown duplicates the conditional logic of previous dropdown.

    Asked by tturiano on January 15, 2016 at 02:17 PM

    Hello, I want to create two dropdowns with conditional logic. I was able to create the first one no problem. But when I create a second one, which will not create any conundrums with the first one, all of the conditions are duplicated from the first one. So, I delete all the conditions in the second one with the intention of creating new and unrelated conditions in the second dropdown.

    However, when I clear the pre-populated conditions in the second dropdown, I checked the first dropdown, and all the conditions are deleted from there. Somehow the two conditions are linked, even though I have cleared the cache, logged in and out, and created the second condition at the other end of the form. Why are the conditions from the first dropdown pre-populating the second dropdown when I click the conditional logic button??

    Please help. How do I create two dropdowns, each with a unique set of conditions?

    Thanks, Tom

    Page URL:
    https://form.jotform.com/40388162697162

    problem cache unique create
  • Profile Image
    JotForm Support

    Answered by BDAVID on January 15, 2016 at 06:38 PM

    Upon reviewing your conditions, I can see they are all conflicting each other. For example condition 1 will show certain fields if the selection is equal to 6, on the other hand, the same fields are conditioned to show(in condition 2) IF selection is equal to 5:

    This can be solved bye creating nested conditions, so group the fields that are going to be shown in a single condition where: if  FieldsSelection is equal to X or if FieldsSelection is equal to Y.

    Example:

    Let us know if you need more help.

     

  • Profile Image

    Answered by tturiano on January 15, 2016 at 08:47 PM
    Thanks. I dont agree that the items are conflicting...it works fine.
    I am wondering why the second dropdown automatically
    Is pre-populated with conditions from the previous dropdown. How do you make a new dropdown a clean slate?
    Sent from my iPhone
    ...
  • Profile Image
    JotForm Support

    Answered by Mike_G on January 16, 2016 at 01:20 PM

    If I understood your concern correctly, when you load your form the second drop down field is always pre-filled(or is already filled), is that correct?  And, the value of that field shows the selection from previous form loads, is that correct?

    I have checked the preferences of your form and found out that you have enabled its Auto-Fill.

    Or if you want to make the second field on a clean state(no option selected) on form load, when the value of the first field is changed or the first field is filled.

    You can try to create the condition below:

    Here's how it works: 

    I hope this helps. Let us know if you need any further assistance. Thank you.

  • Profile Image

    Answered by tturiano on January 16, 2016 at 06:47 PM
    Hi Mike_G,
    thanks for the reply.
    Actually, I am not having a problem with auto filling fields as you surmised.
    If you have a look at the form, I would like to first asking the user how many people over 14 years old are in their party.
    So, I created a well-working set of conditional logic statements, that “shows” hidden fields that collect contact info for each member of their party.
    For example, if they select 4 people in their party under the first dropdown menu, four sets of fields appear that will collect contact info for each of those four people.
    So, that is all working great. Feel free to test it.
    Where I am having trouble is with the second dropdown menu, in which I am asking the user whether or not they have any people in their party who are under 14 years old. The answers are simple, yes or no. I am trying to create another conditional logic statement that either shows or keeps hidden the textbox field at the bottom of the form (you’ll see it if you scroll down) with the descriptor: "Please provide full names and ages of participants in your group under 14 years of age…”
    Seems pretty easy, right?
    However, every time I try to create a new simple conditional logic statement in the settings of the second dropdown (yes or no) question, the conditional logic wizard pre-fills If,Then statements identical to the conditional logic statements that I already set for the first dropdown menu.
    It is very strange. Why is the jotform program pre-populating the conditional logic wizard with statements from a previous unrelated dropdown menu??
    Perhaps only one set of conditional logic statements are allowed per form???
    So, under the second dropdown’s conditional logic wizard, I deleted all the statements, because they have nothing to do with the second dropdown question. The conditional logic statement that I would create under the second dropdown would be a simple one to show or keep hidden the “under 14 names” field. But instead, after deleting those statements under the second dropdown, I checked under the first dropdown, and all those conditional logic statements were automatically deleted, and I had to create them all again.
    So my question is…How do I create a second set of conditional logic statements in one form without inadvertently deleting the conditional logic statements that I already created under the first dropdown menu??
    OH>…..I just figured it out….you just add another statement!!! The conditional logic wizard is a list of conditions for the WHOLE form, not just for one field.
    thanks, Tom
    ...
  • Profile Image
    JotForm Support

    Answered by Kevin_G on January 17, 2016 at 12:25 PM

    Hi,

    If I can understand correctly your concern, you say that when you create a new condition, the statements are being pre-filled with the statements from the condition for the first drop down.

    Now, I have tested your form and I could not replicate your issue, see how it works on my end : 

    Could you please share us a screenshot about your issue ? 

    You will find how to do it on this guide : https://www.jotform.com/answers/277033-How-to-add-screenshots-images-to-questions-in-support-forum 

    We will wait your response.