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

    how to add dollar signs to a number field?

    Asked by DarlaWildfang on December 18, 2014 at 02:08 PM
  • Profile Image
    JotForm Support

    Answered by david on December 18, 2014 at 03:34 PM

    Hi,

    This can be added directly to the Update a field calculation:

    https://www.jotform.com/help/268-How-to-Insert-Text-or-Mathematical-Calculation-into-a-field-using-a-Condition

    Which gives:

    You can also add commas as thousands separators, if you like:

    - first click the "..." to access extra functions.

    - The click the comma separator function:

    That will display:

    This would have to be updated for each condition, which is a bit tedious. Unfortunately I don't see a way to do it faster since they're all different.

    - You also probably want to enforce displaying 2 decimal places. This can be done via the advanced settings:

    - one last note. Oftentimes users make calculated fields like Total Cost Read only, since they don't intend users to update them:

    Please let us know if you have any questions, or need help setting this up.