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

    "Sliders with Calculated Result" widget is not showing the correct calculation.

    Asked by chrisdoti on May 16, 2017 at 11:51 AM

    ((#1*#2)*#3/15*(#4/1000)) is my formula. #1=38, #2=58, #3=1.5, #4=100 as my default. 38x58=2204, 100/1000=0.1... so 2204*1.5=3306, 3306/15=220.4, 220.4*0.1= 22.04. 

    My formula is showing 14.7 as the result and I don't know why. I basically copied & pasted my excel formula and replaced the cell # with #1, #2, #3, etc. and it does not calculate correctly. I almost swear it was working last week when I originally made it because I know I would have tested it before publishing. Please help!

     

     

    Page URL:
    https://form.jotform.co/71275057568868

  • Profile Image
    JotForm Support

    Answered by ashwin_d on May 16, 2017 at 12:58 PM

    Hello chrisdoti,

    I did check your form and you have configured your "Sliders with Calculated Result" widget correctly. It does show the calculation value correctly. It seems you have not selected the "Gauge" value and left it as 1.0 and that is the reason why you see the value as 14.7. If you change the value of "Guage" to 1.5, it will display the value correctly. Please check the screenshot below:

     

    Now the reason why you see the value as "22.0" instead of "22.04" is because you have set the "Result Precision" as 1. It is only showing one decimal value. If you change it to 2, it will correctly display the calculation result. Please check the screenshot below:

     

    Thank you!

  • Profile Image

    Answered by chrisdoti on May 16, 2017 at 02:12 PM

    Thank you! However, I did reconfigure my form to default to 1.0 for the gauge rather than 1.5. I finally noticed that it was calculating correctly if you moved the #3 slider to any different number and then back to 1.5. If I left it at the 1.5 default it was calculating it as a 1.0 instead of 1.5. 

    When I reconfigured to default as 1.0 it fixed it. Thank you!

  • Profile Image
    JotForm Support

    Answered by Jim_R on May 16, 2017 at 02:33 PM

    Thanks for clearing that up and I'm glad you're all set. If you need more help, just open a new thread so we can assist you 😊