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

    Payment Form: Total price doesn't change based on selected quantity

    Asked by DJAAFAR1 on April 19, 2016 at 12:54 AM

    Hello, 

     

    I created an order form and the numbers are not adding up when products are selected Are you able to help please ? 

     

    Thanks

    Djaafar 

    Page URL:
    https://form.jotform.co/60902398728869

    order form adding selected quantity total price
  • Profile Image
    JotForm Support

    Answered by Boris on April 19, 2016 at 05:08 AM

    I have checked your form 60902398728869, and it seems to be working fine or some products, while it is failing on others.

    For example, selecting a "quantity" for product "SPAIN - Sagrada Familia, Beach Backpack Sunlight (ocean blue - sky blue)" will remain at the price for one product:

    This is happening because you seem to have used a "Custom" property instead of the actual "Quantity" property for your products:

    The built-in quantity property is the one that will allow the price to be calculated correctly, based on the number of items that are selected. The "Custom" property that is being used now, even though its name was entered as "Quantity" is still a custom property that cannot be calculated.

    https://www.jotform.com/help/225-How-to-add-options-to-Payment-Forms

    I would recommend simply removing your existing custom property from the product, and adding a regular quantity property instead. You can do this from the payment tool's wizard, by:

    (1) clicking on a product,
    (2) clicking on the X-shaped icon next to its custom property,
    (3) clicking on the pencil-shaped icon to create a new property, select Quantity, then click Next
    (4) clicking on Save Product

    Please let us know how it goes.