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

    Widgets: Form Calculation's 2 decimal places option doesn't work

    Asked by pdiehl on March 14, 2017 at 05:56 PM
    BTW…. Is it possible to add another digit in the total box (textbox)
    Right now, the total does not show the “0”.
    As an example, it shows 29.9
    I would like for it to show 29.90
    Thanks,
    Patrick Diehl
  • Profile Image
    JotForm Support

    Answered by Jim_R on March 14, 2017 at 06:10 PM

    With Textboxes, zeroes will always be dropped.

    e.g.

    19.90 > 19.9

    39.00 > 39

    and so on...

    The Form Calculation Widget however does have an option to set the number of empty decimal places you wish to render on the widget. But it looks like this option is not working at the moment.

    So, I've escalated this to our Devs and although I won't be able to give you any timeframe, rest assured, we'll keep you apprised on this same thread when there's an update.

  • Profile Image

    Answered by pdiehl on March 14, 2017 at 06:46 PM
    Thank You.
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186
    ...
  • Profile Image
    JotForm Support

    Answered by Scott on March 15, 2017 at 05:52 AM

    Hey Patrick & Jim,

    I tried to get the 2 decimals with a zero at the end and was successful.

    For this, just like in the widget options you have to go to the options tab while you are setting up the Update/Calculate condition.

     Here is my test form : https://www.jotform.com/70724955898980

    And the screenshot of the results I am able to get:

     

    If I am missing something let me know and I would gladly forward this to ticket to our developers :)

    Cheers.

  • Profile Image

    Answered by pdiehl on March 15, 2017 at 12:46 PM
    Thanks Scott & Jim for all your help and quick responses.
    I am very close to making my form work properly with the various suggestions you’ve provided.
    Something kind of weird is happening though.
    1. When Jim helped me with the calculated conditions https://www.jotform.com/70717324319960 , my calculations are working properly - but when I tap my mouse anywhere within the “Add Form Element” area, my calculation total changes? Weird, right?
    2. The same thing is happening now with the decimal issue. I have been successful in getting one of my choices to have the proper number of decimal places, but not the other yet. Additionally, even when I have clicked or choose the option where the decimal placement is working… once I click my mouse anywhere within the “Add Form Element” field…. my properly placed decimal field reverts back to a single decimal verses the dual decimal. Again, weird.
    Here is my url for my form.
    https://form.jotform.us/70725851267158
    The area that we are discussing is at the top of the 3rd page.
    “Confirm your Protection Choice”
    Again, thanks for your efforts.
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186
    ...
  • Profile Image
    JotForm Support

    Answered by Kevin_G on March 15, 2017 at 03:21 PM

    Patrick, 

    If I can understand you correctly, you've some calculations on your form, they need to be set up to show empty decimal places. But calculations as well as show empty decimal places do not work as soon as you click on the "Add Form Element" button, it may be also when you add some fields, please let me know if I did not understand correctly. 

    Now, I've cloned your form and checked it on my end, I can see the calculations currently're not showing the empty decimal places, but it calculates properly. 

    However, on the conditions settings I have set them to show empty  decimal places, it worked after that, then I tried to open the add form element section and added some fields, the empty decimal places worked fine as well as the calculation.

    Also, I have noticed there're some calculation values where you've added a dollar sign, I would suggest you to remove  it to avoid problems with your calculations: 

    There're also some conditions with "Please select" on the conditions statements. 

    I would also suggest you to fix that in order to get your conditions working properly. 

    Here's also my form where I've added some fields and the calculations are still working and empty fields are still showing too. 

    https://form.jotformpro.com/70735361272959 

    Should the problem still continue on your end, please provide us more details about how to replicate it on our end, if you could provide us some screenshots about it, would be fine, this guide  will help you to upload the images: How-to-add-screenshots-images-to-questions-in-support-forum

     

  • Profile Image

    Answered by pdiehl on March 15, 2017 at 04:46 PM
    Hi Kevin,
    You guys are truly the best. Thanks again for your support & Help.
    I made this short video to help illustrate my issues.
    Let me know if it helps.
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186
    ...
  • Profile Image
    JotForm Support

    Answered by Kevin_G on March 15, 2017 at 05:54 PM

    You're welcome Patrick, thanks for your kind words. 

    Unfortunately, your video did not reach this thread, and our forum does not accept vides as  attachments, please upload it to a cloud service and provide us the link here so we can view it and better understand the issues you're facing. 

    We'll wait for your response. 

  • Profile Image

    Answered by pdiehl on March 15, 2017 at 08:46 PM
    Thanks again Kevin,
    Here is a google drive link to the short video in hopes of explaining my issues.
    https://drive.google.com/file/d/0BxzSDTox5U3DSWFDYnltaGJQbjA/view?usp=sharing
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186
    ...
  • Profile Image
    JotForm Support

    Answered by Kevin_G on March 15, 2017 at 10:56 PM

    In order to assist you better, I've moved your question to a different thread, this will help us to avoid confusion since it seems like a different issue than the one discussed on this thread. 

    We will assist you as soon as possible on this link: https://www.jotform.com/answers/1092979 

  • Profile Image

    Answered by pdiehl on March 15, 2017 at 11:46 PM
    Thanks Kevin.
    Have a good evening.
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186
    ...