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

    Calculation field is not calculating its value in dollars

    Asked by PreferredGlobal on September 02, 2015 at 05:10 PM

     

    Hello --

     

    I am trying to make a form -- and am having MUCH trouble getting it to work.  The form is: “MAILED INC. -- ITEMIZED CUSTOMER RECEIPT [International].”

     

    I would like the "Base Price, Accesorials [1 - 3], & Fuel Surchage" field to be currency format (e.g. $ 10.00).  I would like the "Total Price" field to calculate and automatically ADD the following fields:  "Base Price, Accesorials [1 - 3], & Fuel Surchage."  I would like the "Total Price" field be in currency as well.

     

    Can anyone please assist me with this?  I have tried everything I could based off of previous posts.  

     

    Your assistance is greatly appreciated.  Thank you very much!

     

     

     

    Best,

     

     

     

    Chris

     

    Page URL:
    http://form.jotformpro.com/form/52217065451954

    creating form creating currency total price
  • Profile Image
    JotForm Support

    Answered by Boris on September 02, 2015 at 08:53 PM

    I have looked at your form, Chris, and the only thing preventing it from correctly calculating is a single superfluous plus sign at the end of the Total calculation field.

    Once this plus sign is removed, the Total calculation should correctly calculate from the five fields above it. You can see here a cloned form working when this plus sign was removed:

    https://secure.jotformpro.com/form/52447702130951

    When it comes to having a dollar sign inside the text fields, I can only recommend either stating (USD) in the label of the question, or to set up a Default Value of $0.00 for each of these five fields:

    It would not prevent people from erasing the dollar sign from the field, but they'll see that it is in dollars before editing this field.

    I hope this helps. Please let us know if you need further assistance.