Pro Forms calculations

Hello, after updating to the latest version of Bricksforge, the calculations stopped working unless i check “Currency Format”. If it’s not checked the calculation does not execute and it displays an error in the console;

bricksforge_elements.js?ver=1700033675:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘calculations’)
at BrfProForms.handleCalculationFieldLogic (bricksforge_elements.js?ver=1700033675:1:48682)
at BrfProForms.renderFormData (bricksforge_elements.js?ver=1700033675:1:45842)
at async bricksforge_elements.js?ver=1700033675:1:22587

It did work as expected before I updated.

As a side note, I would like to see more options when using Round value.

By the way, in the Site error log I find this entry;
[STDERR] PHP Warning: Undefined array key “hasCurrencyFormat”

There were some bugs for the calculations I fixed in the dev build. I deploy a new version tomorrow. I was not able to reproduce your exact value, but probably those fixes are fixing that as well :slight_smile:

Everything works as expected after the latest update. Thank you :blush:

1 Like