- CharlieAnswered on March 19, 2016 at 06: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:
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:
I hope that helps.
- DTSSAnswered on March 19, 2016 at 07:46 AMThis 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.
- BorisAnswered on March 19, 2016 at 08: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:
If you want the output of the calculations to contain a dollar sign in front, simply edit your conditions:
and add a dollar sign in front of the calculation:
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:
By clicking on this fields Hint Example and including a dollar sign at front, this is how the hint will display to your users:
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.
- DTSSAnswered on March 21, 2016 at 07: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.
- JotForm SupportBDAVIDAnswered on March 21, 2016 at 07:26 PM
You simply select the field, click on the "Hint Example" icon, and type it:
Let us know if you need more help.