What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How to total product cost by multiplying it by a entered number field?

    Asked by coachderemer on September 30, 2016 at 08:09 AM

    I have only one product. it cost $35.

    I want to have the user enter a quantity in a number field, then (using PayPal payment) multiply the product cost by the number entered. Then this is the total cost and sent through Paypal.


    Number Field - entered 3

    in the PayPal (only one product at a cost of $35),  3 x $35 totals $105. The $105 is processed via PayPal.


    Page URL:

  • Profile Image

    Answered by sevkiyontem on September 30, 2016 at 11:07 AM

    Hello, there is a page that defines how to pass a calculation to a payment field.

    At first you need to calculate the amount.

    If you try those and have problems with your form, please write here again.

    I hope you can solve the issue.


  • Profile Image
    JotForm Support

    Answered by Nik_C on September 30, 2016 at 01:27 PM

    I checked your form and I see that it is multiplying the quantity and product's price:

    What sevkiyontem said is correct, here is more detailed instruction if you want more customized product list:

    1. Create one Form Calculation field in the form:

    2. Add one text box for quantity and one checkbox for your product:

    3. Now we will set that checkbox value is 35:

    Go to Setting of the checkbox field:

    And set Calculation value to 35:

    4. In the form calculation, we will jus do the actual multiplying of the product and quantity:

    Go to wizard of the form calculation:

    And just multiply your checkbox with quantity field:

    5. Finally, we will pass Form calculation field to PayPal:

    Hope it helps.

    Let us know if you need further assistance.

    Thank you!