Hello @maksimwp1
I’ll try to describe first how the plugin works to allows you understand the cause of the issue. By pressing the calculate button, the plugin evaluate all the equations. However, if the value of a field varies as a result of the equation, the plugin should evaluate all the equations that are affected by this field. The plugin repeats the process until no field varies its value. Please, take care to not generate an infinite loop.
I’ve checked your form, and the equations should be optimized. I’ll try to illustrate the process with a specific equation. The equation associated with the fieldname147 field is:
(function(){
if(fieldname144 == 3) return prec(TAN(fieldname140),3);
if(fieldname144 == 4) return prec(TAN(fieldname140),4);
if(fieldname144 == 5) return prec(TAN(fieldname140),5);
if(fieldname144 == 6) return prec(TAN(fieldname140),6);
if(fieldname144 == 7) return prec(TAN(fieldname140),7);
if(fieldname144 == 8) return prec(TAN(fieldname140),8);
if(fieldname144 == 9) return prec(TAN(fieldname140),9);
if(fieldname144 == 10) return prec(TAN(fieldname140),10);
if(fieldname144 == 11) return prec(TAN(fieldname140),11);
if(fieldname144 == 12) return prec(TAN(fieldname140),12);
if(fieldname144 == 13) return prec(TAN(fieldname140),13);
if(fieldname144 == 14) return prec(TAN(fieldname140),14);
if(fieldname144 == 15) return prec(TAN(fieldname140),15);
if(fieldname144 == 16) return prec(TAN(fieldname140),16);
if(fieldname144 == 17) return prec(TAN(fieldname140),17);
if(fieldname144 == 18) return prec(TAN(fieldname140),18);
if(fieldname144 == 19) return prec(TAN(fieldname140),19);
})();
However, the correct implementation would be simply:
prec(TAN(fieldname140),fieldname144)
Please, check your other equations.
Best regards.