- dlassonAsked on December 23, 2015 at 04:16 PM
I checked the "Show empty decimal places" option in the Calculation Wizard, but the calculation only shows one digit past the decimal point.
In order for you to see an example of this, please follow these steps:
1. Scroll down to the "Voluntary Life/AD&D Insurance" section.
2. "Employee coverage"
3. "I would like this coverage."
4. "Age" - 44; "Desired coverage amount" - $170,000
5. Scroll down a bit to "Dependent Coverage"
6. "I would like this coverage."
7. "Desired coverage amount" - Select $10,000
8. The next field, "Dependent Vol. Life Insurance Premium" shows only one digit after the decimal point.
- BenAnswered on December 23, 2015 at 05:21 PM
Thank you for the steps to recreate it. I took a look at it and I can see the same.
When I took a look at the form, I see that you are using conditions to set the value of the Form Calculation as well as having it grabbing a value from a field, which is never a good combo.
Next to this there are some conditions that have missing fields, which is known to cause various and unexpected results to the form conditions and calculations, so I would suggest fixing those (either pointing to other fields or removing the conditions instead).
Once this is fixed, it should start showing correctly, but if not we would be happy to check what might still be causing it.
- dlassonAnswered on December 24, 2015 at 10:15 AM
Thanks for your response.
I deleted the conditions that had missing fields, but I am still having the issue, so I need to implement what you suggested as your first solution. I know that it looks a little messy (conditions mixed with Form Calculations) but that was the only way I could seem to get the result that I wanted in the format that I needed (calculations with dollar signs, as an example). If you could possibly take a look at that one section and see what I am trying to do and suggest a cleaner alternative, that would be great, and would probably save me a lot of time. If not, I will play with it to get it to work.
- BenAnswered on December 24, 2015 at 10:44 AM
The best way is to use conditions to update a plain textbox with some value. Then we can make the Form Calculation show us the dollar sign as well as do any calculations that we need.
A quick demo can be seen made here: https://form.jotform.com/53574406075962
- I have added a new textbox to which I added a suffix - NEW into the label into which, if the conditions match, the specific value is added.
Once that is added, form calculation will multiply that number with .12 (it was * 0.24 / 2 so I just wrote it as 0.12)
It now shows 2 decimal places.
You can clone the form above to your own account to check and see how it is made by following these steps: How to Clone an Existing Form from a URL
Do of course let us know if there is anything else that we can assist you with and we would be happy to do so.