Add Up Various Charges

  • lpolhamus
    Asked on June 4, 2020 at 3: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?

  • Basil JotForm Support
    Replied on June 4, 2020 at 5: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 Screenshot 10

    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.