Is there a way to format a field so it shows comma separators for large numbers?

  • AMDLLCINFO
    Asked on January 19, 2018 at 4:48 PM

    I have several input number fields used to calculate results in a Form Calculation widget. They are usually large numbers (in the millions) and difficult for the users to confirm are correct without commas in the numbers. Is there a way to format the field so that the number they type in is displayed with comma separators (thousands, millions, etc.)?

  • Support_Management Jotform Support
    Replied on January 19, 2018 at 6:51 PM

    You can use the commaSeparate() function to achieve that.

    Related guide: Form-Calculation-Math-Function-Reference

    (look for the 4. commaSeparate() section)

    Is there a way to format a field so it shows comma separators for large numbers? Image 1 Screenshot 20

    Any value that is inside the parentheses will be comma separated automatically.