Add Up Various Charges

  • Profile Image
    lpolhamus
    Asked on June 04, 2020 at 03:02 PM

    I am trying to create a form that will add up charges from different places in the form and provide a one-time charge.  Could you tell me the best way to do this?

  • Profile Image
    Basil_A
    Answered on June 04, 2020 at 05:02 PM

    Hi,

    The best way to do this is to use a calculation widget, to sum up, all the charges from the fields in your form you would have these as regular fields, not as products in the payment field. After that, you need to set up the payment field to get its value from a calculation. 

    Please take a look at this guide: https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field

    1536613009user-defined-amount.png

    In the Image above Total refers to the calculation widget which is calculating that total amount.

    Please let us know if you require further assistance.