Page 1 of 1

Re-use calculated outcome for other (editbox) calculation

Posted: Sun Mar 31, 2019 2:52 pm
by Jorus
Is it correct that it is not possible to calculate a value for an editbox and automotically re-use the outcome/value from that editbox for another calculations for another editbox etc.?

This way I can easily copy paste a project to modify 1 value without having to rewrite all calculations..

Re: Re-use calculated outcome for other (editbox) calculation

Posted: Sun Mar 31, 2019 3:03 pm
by Pablo
Please see the 'simple_cart' example in the demo project.
Here the sum of 3 sub totals is used in the total field.

Re: Re-use calculated outcome for other (editbox) calculation

Posted: Sun Mar 31, 2019 6:01 pm
by Jorus
I've looked at it (formcalculation.zip) at the Simple cart page, but it only sum up the subtotals. In my case I'd like to implement my own formule/calculation (I don't have a typical cart system). I did try doing that using the Conditions/Expression window, there I implement my formule/calculation, where I refer to a Target (which is a subtotal too) but it doesn't work..

Re: Re-use calculated outcome for other (editbox) calculation

Posted: Sun Mar 31, 2019 8:06 pm
by Pablo
You will need to make sure that when the value changes, the other field's condition is also updated.
This can be done with the ''trigger change' action.