I’m new to Cognito Forms and am trying to give a discount once a Total is met. I have a FormTotal calculation field but it doesn’t seem to be calculating all the fields. I would like to Total the sections and base a discount off of that and then subtract that from the subtotal. Is it possible?

My FormTotal Calculation is =SquareBales.ItemTotal+RoundBales.ItemTotal.

And my discount one is: =FormTotal >= 500 ? - FormTotal* 0.2 : 0.

Any guidance is very appreciated!

1 Answer 1


Remove the minus sign after the question mark, it's a syntax error.

=FormTotal >= 500 ? FormTotal * 0.2 : 0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.