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

    Specific cost for different quantities

    Asked by sarahieca on April 10, 2015 at 09: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?

     

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

    different order form quantity populated maps
  • Profile Image
    JotForm Support

    Answered by david 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:

    Then a field for them to enter the actual quantity:

    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.