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: How to separate numbers using a comma?

    Asked by leefuhr on May 14, 2016 at 12:03 AM
    The second thing I'd like to solve for is getting commas into that result number, so that "$174720" instead looks like "$174,720". Any leads there?
    slider roi calculation calculation commas
  • Profile Image
    JotForm Support

    Answered by Kiran on May 14, 2016 at 01:24 AM

    Unfortunately, there is no way to format the number to currency format using CSS at the moment. It is required to use Javascript to format the number in the required format. However, injection of javascript is not allowed to use with JotForms due to security related issues. Since there is no option to format the number in the widget, let me forward the request to our backend team to evaluate the feature. We cannot promise that the feature will be implemented or any ETA at the moment. Once we have any update, you'll be posted here.

  • Profile Image

    Answered by leefuhr on May 16, 2016 at 02:05 PM

    I might be able to inject the JS in Squarespace, where I'm embedding the JotForm. Could you provide any guidance about what JS I might use and how to get it to target this number? Basically some instructions for a total JS noob like me…

    That'd get me through for now until the feature is built in to JotForm. 

    Thanks so much!

  • Profile Image
    JotForm Support

    Answered by Mike on May 16, 2016 at 03:45 PM

    We do not allow JS injections due to security reasons. Also, most of our widgets are being loaded in isolated iframes, so they are not editable.

    As an alternative, you may consider forwarding calculated value into a Form Calculation widget field. It is possible to use a commaSeparate function within that widget, and style it via form designer.