**VickiH**I have a total Distance ( checkbox marked as $40,$80 or,$100) total discount (-15 ax, -15 bx) the total due should be calculated adding $20 but it comes out with x8.00 The math is not working. I can't figure it out. Any help is appreciated.

https://form.jotform.com/60670761875161 to my form

Thanks

- JotForm Support
**Chriistian**The calculation might not be working properly because the Calculation widget titled "Total Due" has a condition added to it. The Total Due field already has a calculation, so adding a condition would create a conflict with the calculation. To fix the issue, I would suggest removing the condition for the Discount Options.

Then simply add the Discount Options field in the calculation of the Total Due field.

This should fix the issue with the Total Due calculation.

You can also check out this cloned form to see the calculation in action: https://form.jotform.com/60751575243961

To clone it to your account, please follow this guide: How to Clone an Existing Form from a URL

If you need further assistance, do let us know.

Regards.