raphaelluce
Forum Replies Created
-
Hi,
I had the same problem with a form.
With the previous version of forminator and with the current one.
One of the fields used in the calculation had visibility conditions, and even when the field is visible, the form sent the error. I removed any visibility rule and it worked.
It’s a problem, we sometimes need to hide an article depending on rules, and the price calculation should work.Have a good day.
Hi Patrick,
Bravo, nice workaround, it’s working like a charm !
Would be a good idea to correct this in a future version (should be working without parenthesis 🙂Have you an idea about the second problem :
“A rounded value appears rounded on the form, but not in the submissions database. It is also included on the example form I sent you. Send the form and have a look at the submission.”Thanks a lot for your reactivity and the quality of your answers.
Have a nice day.Hi,
I tried your advice but it is a different behaviour than what I’m trying to do. (if I understood well)
Seems to me that hidden value is always considered as 1.
And I did’nt get what you mean by “default value” in your first advice. I don’t see any “defaut value” field…And finally, I don’t know if you had a look at the problem with the rounded values :
A rounded value appears rounded on the form, but not in the submissions database. It is also included on the example form I sent you. Send the form and have a look at the submission.
Have a nice day debugging 🙂Hi,
Here is the code :
https://pastebin.com/fbw2R1TbIt demonstrates that in a calculation a hidden number is considered as 1.
And that a rounded value appears rounded on the form, but not in the submissions.I burnt my neurons many hours to understand what was going crazy in my quite complicated ordering forms…
Thanks. Have a nice day.
Hi,
I resolved the problem by myself by applying all plugins upgradesin my wordpress, and especially forminator upgrade. Everything goes well. Thanks for the quality of your plugin !