Re-use calculated outcome for other (editbox) calculation

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Jorus
 
 
Posts: 105
Joined: Mon Jan 04, 2016 1:39 pm

Re-use calculated outcome for other (editbox) calculation

Post 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..
User avatar
Pablo
 
Posts: 23469
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post 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.
Jorus
 
 
Posts: 105
Joined: Mon Jan 04, 2016 1:39 pm

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

Post 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..
User avatar
Pablo
 
Posts: 23469
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post 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.
Post Reply