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

    If product is deselected, size field stays visible

    Asked by mgcaledonian13 on January 15, 2015 at 06: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 

    Page URL:

  • Profile Image

    Answered by Carina on January 15, 2015 at 10:54 AM

    I see what you mean:

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

    If you need further support please let us know.

  • Profile Image

    Answered by Carina on January 15, 2015 at 08:47 PM

    You can test and clone the demo form: 


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

    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:

    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.

  • Profile Image

    Answered by mgcaledonian13 on January 16, 2015 at 05: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.

  • Profile Image
    JotForm Support

    Answered by Charlie on January 16, 2015 at 07: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.