Calculations not behaving correctly on my form

  • NursingCNH
    Asked on March 6, 2018 at 4:32 PM

    On the nursing cap documentation submission form, I built a calculation widget (Points accumulated from Part B requirements).

    On my question, prepare/present education to benefit staff/patients/families, if user select an option there is a conditional field where they have to indicate the number. In the screenshot below the 2 items selected scores 2 points each for a total of 4 points on the (points accumulated from Part B requirements). If the user unselect "Super User" option for example but do not remove the Indicate number field the calculation does not clear the numbers. It is calculating it as 4 instead of 2.

    How can I fix this issue?

    Jotform Thread 1406999 Screenshot
  • NursingCNH
    Replied on March 6, 2018 at 4:34 PM

    15203720483 6 2018 4 33 08 PM Screenshot 10


  • Kiran Support Team Lead
    Replied on March 6, 2018 at 5:29 PM

    I have checked your JotForm and see that the total is not being calculated correctly after unchecking one option. This is due to the selected option for the dropdown is not cleared after hiding it. Please enable the option 'Clear on being hidden' for the Clear Hidden Field values in the form settings.

    1520375298Selection 050 Screenshot 10

    This should help in calculating the total correctly on the form. Thanks!

  • NursingCNH
    Replied on March 7, 2018 at 11:47 AM

    Thank you. How do I get that? Is that from the calculation field or from the field that is being calculated? this is what I see on the calculation widget15204412203 7 2018 11 46 07 AM Screenshot 10

  • David JotForm Support
    Replied on March 7, 2018 at 12:53 PM

    The option my colleague referenced can be found under the "Settings" menu while editing the form:

    1520445192Capture Screenshot 10

  • NursingCNH
    Replied on March 7, 2018 at 1:12 PM

    I did not see your Image. Sorry I could not find it under settings. Is it under Settings/Conditionality?

  • David JotForm Support
    Replied on March 7, 2018 at 1:36 PM

    The option is under settings.  After clicking settings, click "Show More", then scroll down a bit.  The option should be near the bottom of the list.

  • NursingCNH
    Replied on March 7, 2018 at 3:12 PM

    Thank you I see it now