Automatic adding of decimal for money

  • Kirk_Atamian
    Asked on February 9, 2023 at 5:15 AM

    I would like to be able to have the decimal set automatically. Example 200 is 2.00

  • Jeric JotForm Support
    Replied on February 9, 2023 at 5:47 AM

    Hi Kirk,

    Thanks for reaching out to Jotform Suport. If you want an automatic decimal placement, you can use the the Masked Input widget. This will automatically format user-inputted numbers such as currency, percentage, and decimals in forms that require a specific format. Let me show you how:

    1. Click on Add an Element
    2. Click on Widgets
    3. Search and add Mask Input
    4. Click the wand icon for the settings1675939028 63e4ccd4476ba  Screenshot 10
    5. Set the Number Precision to 2
    6. Set the period ( . ) symbol for the Decimal Separator
    7. Set comma ( , ) symbol for Thousand Separator1675938956 63e4cc8cce841  Screenshot 21
    8. Set $ for the Prefix
    9. Click on Update Widget1675938958 63e4cc8e25c1a  Screenshot 32

    Here's how it looks like when filling up the form:

    1675939559 63e4cee7a05fc  Screenshot 43

    Give it a try and let us know if you need more help.