Calculator for product prices

  • pdiehl
    Asked on March 3, 2017 at 10:24 AM

    I need a simple type of calculator that my customer can click one of 3 choices to determine the cost of their choice on a form. I've looked at some of the widgets but I don't understand the code.

  • Jan
    Replied on March 3, 2017 at 1:23 PM

    You can use the Form Calculation widget in order to calculate the the value of the fields. Please check this demo form: https://form.jotform.com/70614783770966. You can clone it if you like.

    Here's a guide on how I created that demo form:

    1. Insert a "Single Choice" fields in the form.

    Calculator for product prices Image 1 Screenshot 60

    2. After that, I assigned a calculation value of reach item in the Single Choice field. Just click the field and then click the "Properties" button. Go to "" and enter the values separated by line break.

    Calculator for product prices Image 2 Screenshot 71

    3. After that, please insert a Form Calculation widget.

    Calculator for product prices Image 3 Screenshot 82

    4. The formula that you'll use the "Size Field" + "Color Field". You can click the "Add Field" button and select the fields. The operator (+, -, x, /) is at the right side.

    Calculator for product prices Image 4 Screenshot 93

    Here's the result:

    Calculator for product prices Image 5 Screenshot 104

    Please check these guides:
    How-to-Assign-Calculation-Value
    Perform-Form-Calculation-Using-a-Widget

    Hope that helps. Thank you.