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 can I create the math I need?

    Asked by Sol_omon on July 26, 2016 at 02:16 PM

    My company is making a customer contract form. I am trying to figure out how to make it automatically add prices of additional services onto a final service price when a given box is checked.


    For example:

    Our sales representative will autopopulate parts of the form and send it to the customer partially filled out. (contact information, service price) The customer then has the opportunity to select additional services within the form that were not previously quoted. Ideally, the customer checks the additional services they wish to add, and the form will automatically add preset values specific to each service to the final service price quoted at the bottom. 


    If this is possible, is it possible to easily edit the values that are added?


    When you look at the form I have linked, the area I wish to be checked it under "Would you like to add additional services?" and after you check yes, the additional services pop up. I would like those fields to add a pre-populated "Agreed Upon Service Price" at the bottom. 

    Thank you!


    Page URL:

  • Profile Image
    JotForm Support

    Answered by Kevin_G on July 26, 2016 at 02:46 PM

    I think you may add a calculation value to each product in your form, here is a guide that will help you with that: How-to-Assign-Calculation-Value

    Then once you have added the calculation values you will be able to get this value set and then calculate the amount, to achieve this you will need to add the Form Calculation widget and then calculate the total amount there, here is a guide that will help you to perform calculation in your form: How-to-Perform-Calculation-in-the-Form

    Once you do that, new selected options will be automatically added to the total amount, with this calculated you will need to pass the value to your payment integration, here is a guide that will help you with that: How-to-pass-a-calculation-to-a-payment-field

    By the way, I noticed that you're asking for CC details through plain text fields, please remove those fields since it goes against our terms, please use one of our existing payment processing apps: https://apps.jotform.com/category/payment_processing 

    So you avoid your account to be suspended by our anti-phishing system.