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 change the base price based on the selected quantity?

    Asked by vlitebiz on March 01, 2015 at 10:15 PM

    What we want to do is have a sliding price scale based on qty...

    For example if the customers buy 1 then price is X, if 2-5 price is Y, and if 5+ then price is Z

    So total cost is Qty x (X or Y or Z) depending upon the qty ordered.

    Is this achievable and if so how do I achieve this ?

     

    Thanks and best

    Ian 

    quantity complex calculations calculations
  • Profile Image

    Answered by Ben on March 02, 2015 at 08:58 AM

    Yes Ian you could do that.

    The way how would depends on the exact fields used, so I would like to ask you for the link to the jotform where you have this already set up so that we can take a look and better assist you.

    In general, the way to set it up would be to check if the certain number/range is selected and based on that update the 'factor' hidden text box.

    In the rest of the calculations we just base everything on that 'factor' / price field.

    Once we have the link to the jotform we would be happy to give you a more specific example as well :)