How to sum / create a total of the entered amounts in 3 different fields?

  • Profile Image
    bleonard1
    Asked on June 22, 2015 at 03:37 PM

    I have three boxes that my ad reps will type dollar amounts in. How do I make JotForm total the sum of those three boxes in the Total Price box?

  • Profile Image
    Ben
    Answered on June 22, 2015 at 05:51 PM

    The easiest way to do this is by utilizing the Form Calculation widget on your jotform.

    Basically what you do is just add the 3 fields that you want to get the sum of and place a plus sign between them - it is as easy as that :)

    This is how it looks:

    Now as you notice, the field representation is colored with orange color. This means that all letters will be rejected and only the numbers from the input box will be used and sum together.

    So if you type 1a2 in the first field, 3b4 in the second and 5c6 in the third what you get is the 12+34+56 and the total of 102.

    You can see the quick sample form here: http://form.jotformpro.com/form/51726763240959

    If you wish you can also clone it to your account by following the steps here: How to Clone an Existing Form from a URL

    Do let us know if you have any questions or issues and we would be happy to assist with them.