How to get the sum of numbers in configurable list widget?

  • Profile Image
    skindna
    Asked on February 10, 2017 at 08:22 AM

    I am using the configurable list widget to calculate the number of units used in a botox treatment.

    The widget allows you to add multiple lines and add quanity used.  Is there a calculation I can use that adds up all the lines? 

    I have tried the calculation field but I'm getting very unusual results.

     

    I would love your assistance with this :)

  • Profile Image
    Kiran
    Answered on February 10, 2017 at 10:30 AM

    Unfortunately, it is not possible to use calculations with the configurable list widget. It is required to use separate fields in order to calculate the sum. 

    https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget 

    You may also show/hide the fields on the form based on conditions. Please refer to the guide below that can help you with this.

    https://www.jotform.com/help/196-Hide-or-Show-Multiple-Fields-at-Once

    Hope this information helps! Please give it a try and let us know if you need any further assistance. We will be happy to assist. 

  • Profile Image
    skindna
    Answered on February 10, 2017 at 05:21 PM

    Thank you so much for your reply - I thought that might be the case and appreciate you looking into it - I think my work around would be as you suggested and use conditions. :)