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

    Need help in form calculations with conditions

    Asked by PrintingServices on May 06, 2016 at 12:48 PM

    I need to have my form do some calculations and give the end user a total cost.  I need the color print to multiply the # or originals by the # of sets and charge $.10 for the total.  Then if they choose one of the 28 lb paper choices in the white paper drop down box, I need to charge them an additional $.05 for per page for the paper.  If they choose a glossy paper, then I need to charge them $.04 per page.  Then finally, I need to charge them $1.00 per set of 5 tabs.

    Is this possible?

    Thanks!  Becky

    Page URL:
    https://form.jotform.com/PrintingServices/printing-services-job-reques<br/>t-form

    form calculations calculations print charge choices
  • Profile Image
    JotForm Support

    Answered by Kiran on May 06, 2016 at 01:22 PM

    It looks like your requirement is achievable. I've cloned your JotForm and tried adding few conditions to perform the calculations on the fields added separately. However, I was able to get the calculation done for Color print multiplication, 28 lb paper and Glossy paper. I believe that per page refer to the number of originals.

    Here is the cloned version of your JotForm with the calculations. The fields are not hidden so that we can see if the calculation is done correctly.

    https://form.jotform.com/61264846189971

    Since the tabs field is a textarea field, we cannot read the lines to perform calculation. Is there any way that you can get the number of tabs on a separate field so that we can get the calculation done?

    You may clone the form to your account to see how the calculations are done.

    We will wait for your response. Thank you! 

  • Profile Image

    Answered by PrintingServices on May 06, 2016 at 03:45 PM
    Thank you for the help. I was able to change the Tabs so that it can be calculated. Now I am unsure how to get it to add all of the subtotals (color print charge, glossy charge, 28 lb. white paper charge, tab total, etc.) into the Total Charges box at the bottom?
    https://form.jotform.com/61265641660151
    Thanks!
    Becky
    ...
  • Profile Image

    Answered by Huberson on May 06, 2016 at 04:53 PM

    You can simply add the sub-totals together using a calculation field - How-to-perform-calculation-in-the-form.

    You can take a look at it from this clone - https://form.jotform.com/61266466440961.

  • Profile Image

    Answered by PrintingServices on May 06, 2016 at 06:45 PM
    Thank you for all of your help. I think I’ve got it now. ☺
    Becky
    ...
  • Profile Image
    JotForm Support

    Answered by Kevin_G on May 06, 2016 at 07:52 PM

    On behalf of my colleagues who helped on this thread, you're welcome. 

    Do not hesitate to contact us if you need further assistance, we will be glad to help you.