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

    Totalling cost of multiple products on multiple pages for payment through paypal

    Asked by MTPhoto on April 09, 2015 at 06:42 AM

    Hi

    I am struggling with using the Paypal payment tool on my form.

    The purchase fields are all created in the document (imported from Form Central) and clients have options to purchase multiple products, quantity etc across two pages. I need the total of all these purchases to be the total amount paid through Paypal.

     

     

     

    Page URL:
    http://www.jotform.com//?formID=50972545927870

    pass to paypal
  • Profile Image
    JotForm Support

    Answered by EltonCris on April 09, 2015 at 11:24 AM

    Hi,

    First, you need to perform calculations by getting the total of all the selected products. To do that, please follow this guide. http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    After that, pass the total calculation on the Paypal payment field. Here's how: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    You might also find this useful, you can assign calculation value on radios and check boxes. http://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    If you need further assistance, let us know here.

    Regards!

     

  • Profile Image

    Answered by MTPhoto on April 15, 2015 at 08:05 AM

    Hi again. Sorry, I still can't work this out. I have tried to enter two of the payments, but the calculator does not recognize they are two separate calculations. If i do an order for two seperate $40 photo packages, the total should be $80 but it is working it out as as $5600. Obviously i am doing something wrong, i hope you can tell me what. There are many more fields to add after i can work out how to do it.

    Here is the link to my form

     

     

  • Profile Image
    JotForm Support

    Answered by david on April 15, 2015 at 12:29 PM

    Hi,

    The calculation widget treats everything you enter as one large equation.  If you would like the two separate equations added together, it would need to be something like this instead:

    Or:

    (teamprint * quantityrequired) + (goldpackage * quantityrequired)

    You can build from there:

    (teamprint * quantityrequired) + (goldpackage * quantityrequired) + (nextfield * quantity) +

    And so on.

    Here is my test form to show you the equation working:

    http://form.jotformpro.com/form/51044492972963

    If you have any further questions, let us know and we will be happy to help.