Specific cost for different quantities

  • sarahieca
    Asked on April 10, 2015 at 9:54 AM

    I need to set up the following conditions on my order form, with the specific cost auto populated into the subtotal column depending on the quantity chosen:

    Hedberg Maps

    1-9 maps: $7.95 each

    10-24 maps: $6.50 each

    25+ maps: $5.30 each

    Is this possible?

     

  • David JotForm Support
    Replied on April 10, 2015 at 12:33 PM

    Hi,

    This should be possible in a few different ways using the calculation values and a calculation widget:

    http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    I setup a radio button field as such:

    Specific cost for different quantities Image 1 Screenshot 30

    Then a field for them to enter the actual quantity:

    Specific cost for different quantities Image 2 Screenshot 41

    Then multiplied the values together in the widget.  This allows for different prices based on the selection made in the first radio button field.

    Mind you there are several shortcomings to this basic example but if something of this sort will work for you, we can help you refine it to fit your needs.  Here is my quick test form to show you how calculations in forms work:

    http://form.jotformpro.com/form/50994420493965

    When you have your final calculation, you can then pass it to a payment field:

    http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    If our support forums slows down a bit, I will be happy to make a properly set up form that won't allow the users to cheat and enter a lower value if they have selected a higher set in the radio button.