marekborik
Forum Replies Created
-
Hi Amin,
I really appreciate the explanation. I was able to get it to work by using several more intermediate steps and by finding this old article.
Hello Nithin,
Thank you for replying back to me. But I am still not that I understand the root of the problem, because all the numbers in Calculation-1 and Calculation-2 are correct for all possible scenarios and combinations of select-5, select-6 and the rest of the fields. That part does not break and works exactly as I want.
The only thing that does not work is taking those numbers and storing them when the submission is saved. Clearly, the numbers in calculations must have been calculated correctly based on all the conditions and visibility rules, so if there would be some circular dependance or other fundamental logical error, I would not even get them computed in the first place and shown on the webpage. I just don’t understand why those same numbers cannot be stored once the form is submitted.Removing any condition would break the fundamental logic that I am trying to achieve – for Credit card payments ONLY, add 30 cents to the total amount if the total amount is less than $10 CAD, otherwise give a non-mandatory option to add 3.5% to the total amount.
Hello Amin,
Thank you for the reply, I appreciate it, please keep me updated on this thread once you have more info.
Marek
I have been playing a lot with this and it definitely seems like there is a bug in Forminator. In my “Total amount” calculation if I simply don’t add {calculation-2} (credit card fee), then it submits the numbers into the submission like it should (but of course the Total amount is wrong). Adding {calculation-2} into my formula for total amount breaks it.
Unfortunately I cannot just copy past the Calculation from {calculation-2} into this formula, because it has some visibility rules that have to be there, otherwise the logic doesn’t work like it should.