Editable Calculation

Sep 12, 2016

Hello!

I have this problem when trying to create automatic calculations. 

The last box ("Total venit lunar") is the sum of the first two boxes ("Venit 1" and "Venit suplimentar") and it change's it's value when you enter a number in the other fields.

The thing is that if I change my mind and I want to edit the second value, for example, it keeps adding in the last box the number I edit (img. 2). 

1.    2.

I really hope someone could give me some advice!

Thank you!

4 Replies
Calin Fodor

The trigger that resets the total variable to 0 did not work, as long as I don't have a button, and I needed 2 more triggers.

Thanks to you, I discovered how to do this:

As you can see, I added two triggers before the calculations ones:

1. sets the TOTAL to the second variable when you edit the first one.

2. sets the TOTAL to the first variable when you edit the second one.

 

Thank you very much for your advices! 

This discussion is closed. You can start a new discussion or contact Articulate Support.