Title: Calculation ends in Uncaught RangeError
Last modified: October 27, 2021

---

# Calculation ends in Uncaught RangeError

 *  Resolved [mlchrt](https://wordpress.org/support/users/mlchrt/)
 * (@mlchrt)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/calculation-ends-in-uncaught-rangeerror/)
 * Hi together,
    unfortunately I get an error when I apply the code from the following
   article ( [https://wordpress.org/support/topic/graduated-pricing-in-calculated-fields/](https://wordpress.org/support/topic/graduated-pricing-in-calculated-fields/))
   and then select other decimal selectors. This results in the following error:
 * Uncaught RangeError: Maximum call stack size exceeded
    at jquery.inputmask.min.
   js?ver=1.15.2:8 at Array.forEach (<anonymous>) at d (jquery.inputmask.min.js?
   ver=1.15.2:8) at c (jquery.inputmask.min.js?ver=1.15.2:8) at HTMLInputElement.
   c (jquery.inputmask.min.js?ver=1.15.2:8) at HTMLInputElement.<anonymous> (jquery.
   min.js?ver=3.6.0:2) at Function.each (jquery.min.js?ver=3.6.0:2) at s.fn.init.
   each (jquery.min.js?ver=3.6.0:2) at s.fn.init.val (jquery.min.js?ver=3.6.0:2)
   at e.recalculate (front.multi.min.js?ver=1.15.2:1)
 * And also the “Total”-field is not beeing calculated anymore. I changed the decimal
   seperator from 12345,67 to 12.345,67 on all fields but it ends then in such a
   error. Is there any way to fix that? Are calculations with other decimal seperators
   not possible? With the “standard”-one its working. Thanks alot for your help!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/calculation-ends-in-uncaught-rangeerror/#post-15016061)
 * Hi [@mlchrt](https://wordpress.org/support/users/mlchrt/)
 * I hope you are doing good today.
 * We had a similar report in the past and it could be related to a loop in your
   visibility rules. Please export your form, upload it to google drive or dropbox,
   and share a link in your next reply so that we could take a closer look at this.
 * Kind Regards,
    Kris
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/calculation-ends-in-uncaught-rangeerror/#post-15043309)
 * Hello [@mlchrt](https://wordpress.org/support/users/mlchrt/) ,
 * We haven’t heard from you for several days now, so it looks like you don’t have
   more questions for us.
 * Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Calculation ends in Uncaught RangeError’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [calculation](https://wordpress.org/support/topic-tag/calculation/)

 * 2 replies
 * 3 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/calculation-ends-in-uncaught-rangeerror/#post-15043309)
 * Status: resolved