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 using the Slider widget

    Asked by una1 on January 11, 2016 at 07:23 AM
    hi i have a form that i want to use slider widget that will calculate the amount payable ..by a fixed amount multiply by 1% then by how many days


  • Profile Image

    Answered by anurupa on January 11, 2016 at 09:55 AM

    Can you write it in an equation form ? This is not very understandable.

  • Profile Image
    JotForm Support

    Answered by Charlie on January 11, 2016 at 12:41 PM

    If you are using the widget "Slider with calculated result", you need to setup the sliders properly.

    In your case, this is the formula you have indicated:

    (pow(#1, #2) + #3) / #4

    However, if you checked your slider widget, you only have 1 slider defined with should represent "#1". #2, #3 and #4 will not have anything to reference because you don't have any other sliders stated on the widget.



    I cloned your form for testing purposes, here's a screenshot of the output:


    My "Sliders with calculated result" widget is setup like this:

    1. I have defined two sliders in my "Configuration" setting.

    2. My calculation would work like this:




    Another thing that you can use is the form calculation widget which can be associated with simple or default form fields: http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form 


    Let us know if you need more help on this.