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

    I'm trying to write the formula for the slider with calculated results

    Asked by tshanks on May 15, 2017 at 10:02 PM

    slider #1- has a min of 50 which represents a distance and has a minimum charge of $600, after 50' it goes $54 dollars per foot. I set the max to 100.

    slider #2- is a difficulty rating of 0-3. each choice comes with an $200 incremental rise in price. 0=$0, 1=$200, 2=$400, 3=$600

    Slider #3- is a price range of $54 per foot, going up to 50'.

    Slider #4- is a price range per foot as well form 0-50' with a multiplier of $121.50


    This is my calculation formula: (pow(600 + #1*54) + (#2*200) + (#3*54) +(#4*121.5)


    When I submit I get the following: SyntaxError:Expected ')'

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Chriistian on May 16, 2017 at 01:39 AM

    I'm not sure why you need to add the pow() syntax. When I removed this and left the formula which is (600 + #1*54) + (#2*200) + (#3*54) + (#4*121.5) and it works fine.

    Please see the screencast below:

    However, if I misunderstand your question, please give us more details and let us know if you need further assistance.