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

    Conditional hidden fields being calculated in calculations

    Asked by amitinddr on January 24, 2017 at 01:27 PM

    Hi Team JotForm

    I have form where I have a set of 5 fields. I have created copies of the 5 fields into 5 sets. Based on the number of sets selected by user from a different dropdown, the number of sets are shown and hidden. For example, if the dropdown value is "1", only one set of 5 fields will be visible. Similarly for values 2, 3, 4 and 5, the form shows total 2, 3, 4 and 5 sets respectively.


    A text box in the end shows a total of the 3rd field of each set. So for example, if the third fields of sets 1, 2, 3, 4 and 5 are 15, 20, 15, 30 and 40 respectively, the total will show 120. But if the user changes the number in first dropdown to 3 for example and the last 2 sets are hidden, the total text box does not update to show total of first 3. It continues to show total of all 5 fields. I have checked "Ignore Hidden Fields" but it doesn't help.

    PS: When I try to set "clear hidden field values" to "on being hidden from" preferences, it makes my form very slow. I do not want to go with this approach.

    Any help would be greatly appreciated.

  • Profile Image
    JotForm Support

    Answered by EltonCris on January 24, 2017 at 03:24 PM

    The option you mentioned is designed for that purpose and I'm afraid there's no other way other than that. Selecting "Clear On Being Hidden" should fix it.

    I don't think this would affect the performance of the form. It should be working normally as it should.

    Try it again and let us know if there are any issue arises.