Is there a CSS code that will format numerical entries?

  • larrywf
    Asked on October 7, 2018 at 2:45 PM

    Is there a CSS code that will take a numerical entry in a "Number" field or a field that has a numerical value that comes from a conditional calculation and add the dollar sign and a two place decimal? So an entry or calculation of 234 will appear as $234.00 or 234.3 as $234.30. Thanks.

  • David JotForm Support Manager
    Replied on October 7, 2018 at 4:40 PM

    We have a widget for this purpose, please try the Masked Input widget: https://widgets.jotform.com/widget/masked_input 

    Follow this guide to learn how to add a widget to an existing form: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-Your-Form 

    Let us know if you need more help.