problem with conditional logic feature

  • Profile Image
    gregsipe
    Asked on March 26, 2012 at 05:52 PM

    how do you create a drop box that will auto-populate based on the previous choice? Asked by gregsipe on March 26, 2012

    I have a car dealership.  My form ask users to use the drop box to choose the make of their vehicle.  I would like to create a drop box following this that would auto-populate with the various models from whichever manufacturer they choose.  Is this possible?  Thank you for your help.

    Answered by mliz

     

    You can use the conditional logic feature for this kind of setup, just choose the rule to show or hide form fields. You can find further information on how this works from the following article:

     

    I followed the conditional logic feature by doing the following - If "Make" field "equals to" "Acura" then "show" "model' field.  I did this then populated the Model field with Acura's list of models.  Here is the problem.  I need a completely seperate "Model" drop box to open up for each different car manufacturer that is chosen under "Make" field.  How do I accomplish this.  Thanks again for your help.  

     

  • Profile Image
    jonathan
    Answered on March 26, 2012 at 06:21 PM

    Hi,

    To do this, you will have to create the conditions for each Model drop box. That is:

    1. Make a number of Model drop box equal to the number of "Make" field in the selection drop down.

    2. Create the show conditions for each Make field in the selection drop down AND another rule to hide those Model not equal to the current Make field in the selection

    Example.

    If Make = Acura then Show Acura Model
    If Make = BMW then Show BMW Model.

    I hope this answers your question. Should you require further assistance please contact us.

    Thanks.

  • Profile Image
    jonathan
    Answered on March 26, 2012 at 06:39 PM

    Hi,

    Additionaly, you can also check similar discussion here:

    http://www.jotform.com/answers/87416-Help-with-condition-logic#1

    In the thread, our colleague Neil also provided the example form for such multiple show/hide condition.

    Hope this help you in any way. Thanks.

  • Profile Image
    gregsipe
    Answered on March 26, 2012 at 08:00 PM
    I tried the steps below and added a when "Make" is "empty" Hide" for each model. When I previewed the last step I added worked but as soon as I put Acura in the Make field all the Model boxes showed up. I'm really confused why it is not working. Can you go into my account and see my parameters to see what I may have done wrong?
  • Profile Image
    NeilVicente
    Answered on March 26, 2012 at 08:11 PM

    @gregsipe

    Here is how it is done:

    Create multiple Model drop downs that correspond to all options available in your Make field.

    Following that step, you should have a Model drop down for Acura, another for Bentley, one for Honda, and so on... (you get the drift?).

    Each Model drop down will contain all available models for the selected Make. Your condition will show the corresponding Model drop down depending on the chosen Make option. You do not need to use a hide condition.

    For an example, and a more detailed explanation, please visit this related thread:

    http://www.jotform.com/answers/21974-Can-i-create-conditional-drop-down-boxes