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

    Problems with conditions

    Asked by PriceIT on January 23, 2014 at 09:19 PM

    I've successfuly added several conditions to my form but a problem seems to keep appearing.

    Problem:
    1. Click "Phone" for Product Type
    2. Now click "Apple iPhone" for Phone Type
    3. Then click "iPhone 3G" in Category
    4. Finally, go back to Product type and change your choice from "Phone" to iPod, tablet, computer, etc...

    Upon selecting another choice, options "Category" and "Carrier" and "Capacity" should go back into hiding but they don't. Why is this? 

    Page URL:
    http://form.jotform.us/form/40214808695155

    problem product 3 then
  • Profile Image
    JotForm Support

    Answered by jonathan on January 24, 2014 at 04:23 AM

    Hi,

    The rules you have setup are bound to cause confusion in the condition logic because they are using similar values/names for all..

     

    This can be easily fixed by the technique described on this guide -

    How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry

    Use the collapse fields to allow you to group all the dropdown fields for each Phone name, and at the same it will be easier to manage since you can give Name to collapse field like Iphone, Iphone 3G, Iphone S.. so on...

    I will create the condition also on a cloned version of your form. I will get back to you when I have this done.

    Thanks.

     

  • Profile Image

    Answered by PriceIT on January 24, 2014 at 09:55 AM

    Each Carrier serves a purpose. They have different options within them so each seperate category coincides with their own carrier.

    Basically all I want is for everything that pops up when you follow the steps below to hide again when changing choice of "Product Type" from Phone:
    1. Click "Phone" for Product Type
    2. Now click "Apple iPhone" for Phone Type
    3. Then click "iPhone 3G" in Category
    4. Finally, go back to Product type and change your choice from "Phone" to iPod, tablet, computer, etc..

    So, "Product Type", "Phone Type", and "Category" should all go back into hiding when I choose anything but Phone for "Product Type."

  • Profile Image
    JotForm Support

    Answered by jonathan on January 24, 2014 at 09:59 AM

    I apologize for my delays. I am actually currently building the condition on the form via the method I had described earlier.

    I will surely get back to you so you can try my form version, and decide if the form will serve your requirement.

    Thanks.

  • Profile Image

    Answered by PriceIT on January 24, 2014 at 10:05 AM

    Thank you jonathan but do you understand why I have 7 "Carriers?" Each one is followed by a "Category." There are 7 "Carriers" so I had to put 7 "Categories." Every Category has their own seperate Carrier b/c each carrier has a different sub option in the drop down that relates to the category.

  • Profile Image
    JotForm Support

    Answered by jonathan on January 24, 2014 at 10:21 AM

    Hi,

    Can you also described the layout here?. Currently, I understand it like this.

     

    Product Type

       - Phone Type

            - Category 1

                        - Carrier 1

                           - Capacity 1

                               - Condition 1

            - Category 2

                         - Carrier 2

                           - Capacity 2

                              - Condition 2

            - Category 3

                         - Carrier 3

                           - Capacity 3

                               - Condition 3

    '

    '

    '

            - Category nth

                         - Carrier nth

                           - Capacity nth

                               - Condition nth

     

     

    Thanks.
  • Profile Image

    Answered by PriceIT on January 24, 2014 at 10:38 AM

    Product Type > Phone

    - Phone Type > Apple iPhone

    - Category (1) > iPhone 3G

       + Carrier (1) (After choosing "iPhone 3G", these two categories pop up)

       + Capacity (1)

     

    - Category (2) > iPhone 3GS

       + Carrier (2)

       + Capacity (2)

     

    - Category (3) > iPhone 4

       + Carrier (3)

       + Capacity (3)

    etc...

     

    When I change:

    Product Type > iPod
    Product Type > Tablet
    etc...

    So when product type is changed from phone to anything else in that drop-down list (iPod, for example) then everything that pops up under Phone type should all go back into hiding.

    Does that make since? 

  • Profile Image
    JotForm Support

    Answered by jonathan on January 24, 2014 at 10:50 AM

    Please test this form http://form.jotform.me/form/40232322898454?

    Tell me what I need to correct on it.

    Thanks.

  • Profile Image

    Answered by PriceIT on January 24, 2014 at 11:00 AM

    Ok follow these steps based off of your form.
    1. Product Type > Phone
    2. Phone Type > Apple iPhone
    3. Category > iPhone 3G

    Now "Phone Type", "Category", "Carrier", and "Capacity" should all be displayed on the form. Now go back to "Product Type" and change it from 'Phone' to 'iPod', 'tablet' or whatever you choose. After changing your choice to one of those options (iPod, tablet, etc...) the other drop-down options (Carrier, Capacity) don't disappear but they should. Their should be only 2 drop-downs displayed when changing "Product Type" from 'Phone' to 'iPod' or any other choice and they are "Condition" and "Original box and contents."

  • Profile Image
    JotForm Support

    Answered by jonathan on January 24, 2014 at 12:00 PM

    Hi,

    I am able to realize the conflict. Please grant me a little time to figure out the correct condition.

    I am not leaving this unfinish. I will get back to you once I have the right solution.

    Thank you.

  • Profile Image

    Answered by PriceIT on January 24, 2014 at 12:01 PM

    Thank you so much for taking your time out to help me.

  • Profile Image
    JotForm Support

    Answered by jonathan on January 24, 2014 at 12:42 PM

    Hi,

    When you can, you may please check the latest version http://form.jotform.me/form/40232322898454?

    Tell me of your take on it.

    Thanks.

  • Profile Image

    Answered by PriceIT on January 24, 2014 at 12:45 PM

    That works just fine. Could you please tell me what you did to solve this issue?

  • Profile Image
    JotForm Support

    Answered by jonathan on January 24, 2014 at 01:09 PM

    Hi,

    I think made a better one here http://form.jotform.me/form/40235196847460?

    Please evaluate it also.

    --

    To  get a better understanding of what I did, please clone the form.

    Use this guide http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Once you have cloned the form, you can now review the condition logic I have setup.

    As mentioned previously, I relied on this guide 

    http://www.jotform.com/-How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry

     

    Hope this help. Please inform us if you need further assistance.

    Thanks.