Calculated field returns to zero #3146
Labels
Bug
Has PR
Bug/Feature with a PR created for it.
Priority Support
Bugs that a Caldera Forms Pro customer needs help with.
Milestone
Do You Need Immediate Help?
Ticket opened
Is This A Feature Request?
No. I think is a bug.
What Version Of Caldera Forms, WordPress and PHP Are You Using?
WordPress Version: 5.1.1
PHP Version: 7.3.3
MySQL Version: 5.7.25
Server Software: Apache/2.2.22 (@Release@)
Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?
Yes
What Is The Unexpected Behaviour?
When an existing form that was previously submitted is being edited the calculated field in the edited form briefly displays the correct value as was saved to the database, and then is reset to zero by the Caldara Forms JavaScript. The other fields which are involved in the calculation have to be manually changed in order for the calculated field to display a value other than zero. The login credentials for the site are: Username: cfdemo Password: !cfsup203321# After logging in, you can observe the issue being described with the following link: https://pprdemo.pyxisys.net/ppr-reviews/new-ppr-review/?cf_ee=1 If you look at the last field on the form - "% No. Of Contracts Reviewed", when you load the page you will see it briefly display the correct value of 42.86 (No. Of Contracts Reviewed/No. Of Contracts Since Last Review = 3/7) and then change to 0.00.
What PHP Errors Have You Logged While Reproducing This Bug?
No errors are reported.
What JavaScript Errors Have You Seen While Reproducing This Bug?
No error are reported in the browser console.
The text was updated successfully, but these errors were encountered: