How do I make fields dollars, with a dollar sign and decimal point?

  • DTSS
    Asked on March 19, 2016 at 5:47 AM
    2) How do I make fields dollars, with a dollar sign and decimal point?
  • Charlie
    Replied on March 19, 2016 at 6:11 AM

    It depends on where and how you want to output the value with a $ sign and a decimal point.

    For example, if you used a Form Calculation widget to sum up two text boxes, then you can simply append a $ sign and set the decimal places in the widget itself.

    Here's a guide to learn more about form calculation widget: https://www.jotform.com/help/259-How-to-perform-calculation-in-the-form 

    Here's a sample form: https://form.jotform.com/60783148096968. And this is how I setup mine:

    How do I make fields dollars, with a dollar sign and decimal point? Image 1 Screenshot 30

     

     

    In "Conditions" you should also be able to do this. Simply append the "$" sign in the calculation field. Here's a sample setup I have: 

    How do I make fields dollars, with a dollar sign and decimal point? Image 2 Screenshot 41

     

    I hope that helps.

  • DTSS
    Replied on March 19, 2016 at 7:46 AM
    This really confused me. I want the person filling out the fields that are dollar amounts to not have to do anything but enter their dollar amount. Can the form simply show a dollar sign, I know it can show the decimal point? IT needs to do so, without any calculations.
    Of course those fields are then calculated into other dollar amounts, or rather I’d like them to be.
    Mark
    ...
  • Boris
    Replied on March 19, 2016 at 8:28 AM

    Sorry for any confusion, but by following the steps my colleague laid out above your users would only need to enter a number into the field - my colleague described how to add a dollar sign directly into your form calculation fields so that the customer doesn't have to enter it.

    For example, we see that your form uses conditions to insert a calculated value from one field into another:

    How do I make fields dollars, with a dollar sign and decimal point? Image 1 Screenshot 60

    If you want the output of the calculations to contain a dollar sign in front, simply edit your conditions:

    How do I make fields dollars, with a dollar sign and decimal point? Image 2 Screenshot 71

    and add a dollar sign in front of the calculation:

    How do I make fields dollars, with a dollar sign and decimal point? Image 3 Screenshot 82

    In addition to that, if you want to hint to the users that the amount is in dollars on the fields where they are entering their numbers, you can use a dollar sign in your Hint Example of such fields.

    This is how the hint displays currently, on field Net Monthly Income:

    How do I make fields dollars, with a dollar sign and decimal point? Image 4 Screenshot 93

    By clicking on this fields Hint Example and including a dollar sign at front, this is how the hint will display to your users:

    How do I make fields dollars, with a dollar sign and decimal point? Image 5 Screenshot 104

    If you experience any further troubles with setting up a dollar sign to be shown inside one of your form fields, please let us know which exact field you are having trouble with, and we will be happy to help.

  • DTSS
    Replied on March 21, 2016 at 7:18 PM

    Thanks, every detail is covered here except what exactly to do to get a dollar sign with comma for thousands and decimal points for cents, to show up in my form fields! Conditions already do math very well. I just want my fields to be in dollars and cents. In your Form Calculation widget you have an arrow pointing to a dollar sign, but no instruction on how to get that dollar sign in there. Please explain that. Thank you.

  • David JotForm Support Manager
    Replied on March 21, 2016 at 7:26 PM

    You simply select the field, click on the "Hint Example" icon, and type it:

    How do I make fields dollars, with a dollar sign and decimal point? Image 1 Screenshot 20

    Let us know if you need more help.