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

    Calculate

    Asked by JMHurd on March 30, 2015 at 09:37 AM

    Using drop down or radio options, how do I get a calculation of price. For example:

    Quantity 25 = $40
                45 = $60
                65 = $70 

    I want the form submission to look like this, below... but the only way to do that is get the price and quantity in separate fields. How do I do this without causing confusion? The purpose of this form is to generate a quote. 

    We've received your request for {quantity} of items. The estimated price is {price}. We will contact you within 24 hours to finalize your order.


    Today's Date {todaysDate} 
    Date Required {dateRequired} 
    Customer Name {customerName} 
    Phone Number {phoneNumber3} 
    E-mail {email4} 
    Address {address5} 

    Quantity {quantity} Estimated {Price}

    style size name quantity
  • Profile Image

    Answered by Shadae on March 30, 2015 at 12:18 PM

    Hi JMHurd,

    You can place values to each option in your drop down or radio button fields within the settings of the field.

    The calculation value will then be used when doing calculation using the Form Calculation Widget.

    To set the form calculation value:

    1. Select your field

    2. Select the gear icon

    3. Select "Show Properties"

    4. You would then enter the value for each field option in the form calculation field

    I hope this helps, please inform us if you need further assistance.

    Thank you.