Using ontextchange event I want to change the value of “Salt percent” if the value of “Total Salt” is changed and change the value of “Total Salt” if the value of “Salt Percent” is changed too. As I want to do this in real time I built the follow blocks to do this :
I’m talking about textbox, as I used ontextchanged event in the “Salt Percent” textbox to change the value of “Total Salt” textbox and the same event in the “Total Salt” textbox to change the value of “Salt Percent” textbox, both based “Water volume”, the app enter in looping.
The idea can be: check if the previous value is the same as the current one. It only allows you to enter the calculation and stay recursive, if different.