Option to format submissions with commas as thousand separators.

  • Profile Image
    hidashokri
    Asked on September 25, 2025 at 12:36 PM

    Would it be possible to have the number field (or another widget) format submissions so that thousands are separated with commas?

    Thank you,

  • Profile Image
    James Adalem JotForm Support
    Replied on September 25, 2025 at 12:54 PM

    Hi Hida,

    Thanks for reaching out to Jotform Support. You can use the Masked Input widget to have a thousand separator. It's easy to add a Masked Input widget to your form. Let me show you how:

    1. In Form Builder, click on Add Element on the left side of the page.
    2. Go to the Widgets tab, search for the Masked Input widget and click on it. Option to format submissions with commas as thousand separators Screenshot 30

    Check out the screencast below to see my results:

    Option to format submissions with commas as thousand separators Screenshot 41

    Let us know if you have any other questions.

  • Profile Image
    hidashokri
    Replied on September 25, 2025 at 1:14 PM

    Hi James,

    Thank you for your tutorial.

    The form does not register the input under the default settings for the masked input widget:
    Option to format submissions with commas as thousand separators Screenshot 20
    Is there a particular format or way that submitters have input their numbers?

    I was only able to get it to work once by typing in the $ sign, but was not able to replicate this.

    Thank you!


  • Profile Image
    James Adalem JotForm Support
    Replied on September 25, 2025 at 1:41 PM

    Hi Hida,

    To fix this, you just need to set the Number Precision section to 0 and remove $ from the Prefix section. Here's how to do it:

    1. In Form Builder, click on the Wand icon of the Masked Input widget, and set the Number Precision to 0.
    2. Under the Prefix section, delete the $ sign and click on Update to apply changes. Option to format submissions with commas as thousand separators Screenshot 60

    Another workaround for this is to add a Number field and a Form Calculation widget. I'll walk you through setting that up:

    Let's start with adding a Number field:

    1. In Form Builder, click on Add Element on the left side of the page.
    2. Under the Basic tab, click on the Number element. Option to format submissions with commas as thousand separators Screenshot 71

    And finally, we'll add a Form Calculation widget and set that up:

    1. In Form Builder, click on Add Element on the left side of the page.
    2. Go to the Widgets tab and click on the Form Calculation widget. Option to format submissions with commas as thousand separators Screenshot 82
    3. In the right panel of your Form Calculation widget, click on f(x) or the Function icon, scroll down and look for the function called commaSeparate and click on it.
    4. Now, click on the Add Field button and select the Number field that you added recently.
    5. Click on Save to apply changes. Option to format submissions with commas as thousand separators Screenshot 93

    Check out the screencast below to see my results:

    Option to format submissions with commas as thousand separators Screenshot 104

    Here's my demo form, feel free to clone it.

    Reach out again if you need any more help.

Your Reply