If product is deselected, size field stays visible

  • mgcaledonian13
    Asked on January 15, 2015 at 6:21 AM

    I have made up a form that allows our members to order clothing from our site. I has over twenty items in at present and I have attached the "cutdown" version.

    The question is. At the top there are radio buttons referring to each category, when the user "selects" one of the various items in that category they appear, so far so good. The items have the option to select a quantity from a dropdown (DD) in conjunction with the item, and then shows other DDs for size etc., again so far so good. If the user selects two categories and selects one item from each category, fills in all the size colour etc and then goes to submit, the total items ordered and the total value are shown. Now.... if the user decides that they do not want one of the items and unselects a category without re-setting the item  that they don't want to "zero" the  size DDs stay visible. As the appearance of the size etc is controlled by the condition attached to the Quantity DD is there a way to change the condition to hide the DDs that should not be visible. I think my solution to this is to get the Quantity to revert to zero when the category is unselected, I cannot see any way of doing it with a condition.

    I hope this is understandable !!

    Any suggestion as how my problem could be solved? I have a feeling that there no answer......... go on prove me wrong !!!!!   

    Willy Scott 

  • Carina
    Replied on January 15, 2015 at 10:54 AM

    I see what you mean:

    If product is deselected, size field stays visible Image 1 Screenshot 20

    I will run further tests and will get back to you later.

    If you need further support please let us know.

  • Carina
    Replied on January 15, 2015 at 8:47 PM

    You can test and clone the demo form: 

    http://form.jotformpro.com/form/50147474184961? 

    I added form-collapses (hidden and open) before any category so that would simplify conditions:

    If product is deselected, size field stays visible Image 1 Screenshot 30

    This way when I wanted to show a category I only need to select the form collapse, instead of selecting all the fields of that category:

    If product is deselected, size field stays visible Image 2 Screenshot 41

    I also disabled all the conditions that were hiding fields. I believe they were creating conflict with the other conditions.

    Let us know if we can assist you further.

  • mgcaledonian13
    Replied on January 16, 2015 at 5:51 AM

    Any suggestion as how my problem could be solved? I have a feeling that there no answer......... go on prove me wrong !!!!! 

    I knew that you could do it, the JotForm team members very rarely fail.

    I should have remembered that as I had used it before.

    Thanks for that solution Carina you are a star.

  • Charlie
    Replied on January 16, 2015 at 7:58 AM

    In behalf of my colleague, Carina, you're welcome. Glad that the problem is now resolved.

    If you need any assistance again or have other concerns, please do feel free to open up a new thread here in the forum.

    Thank you.