**sbufsaweb**Is it possible to give an error if the calculation total is less than 6 or greater than 20?

*This is a re-post of a comment on Form Calculation - Math Function Reference*- JotForm Support
**BJoanna**it is possible to show error for number fields. For number fields you can set Min value and Max value.

You would also need to use conditional logic to perform calculation. I have made sample form and I have set my condition like this.

For more details please check this guide: https://www.jotform.com/help/268-How-to-Insert-Text-or-Mathematical-Calculation-into-a-Field-Using-a-Condition

Here is my sample form: https://form.jotform.com/61595439018967

Feel free to clone it.

Hope this will help. Let us know if you need further assistance.