CalderaWP / Caldera-Forms

Drag and drop, responsive WordPress form builder.
https://CalderaForms.com
GNU General Public License v2.0
187 stars 163 forks source link

Conditionals not showing correct calculation values #3040

Closed paaljoachim closed 5 years ago

paaljoachim commented 5 years ago

The following is a calculator using a lot of conditionals.

Live site: https://celias.no/bestilling/

screen shot 2019-03-01 at 16 12 23

Dev site: https://celias.no/dev/bestilling/

screen shot 2019-03-01 at 16 12 36

What Version Of Caldera Forms, WordPress and PHP Are You Using?

WordPress Version: 4.9.8PHP Version: 7.0.33MySQL Version: 5.5.5Caldera Forms Version: 1.8.1WP_DEBUG:

Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?

Yes.

What PHP Errors Have You Logged While Reproducing This Bug?

What JavaScript Errors Have You Seen While Reproducing This Bug?

No errors seen in the console or turning on wp bug to true.

It starts out looking ok. Upon moving the sliders the number become distorted. Upon refresh of the page the calculator resets back to original values. conditionals-caldera-forms

Json export of the calculator. https://www.dropbox.com/s/v0e9ti77cd2y3cp/dugnadskalkulator-2018-export.json?dl=0

swapnilmanjrekar commented 5 years ago

I checked this bug using the following steps:

Javascript Errors:

PHP Errors:

WordPress Version: 5.1PHP Version: 7.1.26MySQL Version: 5.7.25Caldera Forms Version: 1.8.1WP_DEBUG: 1

paaljoachim commented 5 years ago

Thank you for confirming @swapnilmanjrekar

mn4mac commented 5 years ago

I do have the same problem with my contact form. I'm using 4 different sliders and start moving them, they all show the field-id instead of the value. Hope, this bug will be fixed soon!!! No PHP-Errors, no MySQL-Errors, tested with Safari, Google Chrome an Firefox. Astonishingly 1 week ago it worked properly, but now there is this bug!

bildschirmfoto 2019-03-02 um 23 42 00
Shelob9 commented 5 years ago

3043 is proabably a duplicate of this. @New0 is describing the root cause of the issue and I am seeing this issue when there are sliders with develop branch and it is resolved with PR #3045

Shelob9 commented 5 years ago

This is probably fixed via #3043 I am moving to 1.8.3 milestone.

If I'm right, updating to 1.8.2 fixes this. If I'm wrong, we look harder next week.

paaljoachim commented 5 years ago

Josh when it is ready please share a link to a dev version I can test. Thanks. (But it sounds like it will be a part of the 1.8.2 release coming very soon. I will test it out and let you know how it goes.)

Shelob9 commented 5 years ago

@paaljoachim Thanks for offering to test. I just added a rc build for 1.8.3 here -> https://github.com/CalderaWP/Caldera-Forms/pull/3052#issuecomment-470297981

Shelob9 commented 5 years ago

close via #3043