ok, here it goes.
i got 2 number inputs.
the second one is readonly.
the first one, the user can put any number between 0 and 99.
When the sum of the first with the second input reaches 10, the second one that was 0 adds 2
when the sum of the two reaches 20, adds 3
for 30, adds 4, for 40 adds 5, and so on.
so, when the first one gets 18, since the second one will already have 2, it will sum 20, adding +3 into the second input making it five. That's fine and I already done it. The problem is that, if now i subtract one from the first input making it 17, it doesn't go back to 2 on the se…