2018-01-03 11:29 UTC
I have a simple textfield where I enter values, e.g "123"
I have a second textfield where the result of "inputvalue x 2" should be displayed, e.g. 246 (the result of 123x2)
On field A a have the event "OnEditChanged" which runs the calculation "input x 2".
Sounds great, but the problem is in detail, e.g. for "123"
- I press "1"
-> It calculates 1x2=2 and displays 2
-> It returns to field "A" and sets the cursor on the beginning of the field
- I press "2"
-> Instead of expected value "12" in field "A" I have now "21", because 2 was entered at the beginning of the field.
What to do to keep the normal order of the input - 123?
Happy new year to all!
I have a second textfield where the result of "inputvalue x 2" should be displayed, e.g. 246 (the result of 123x2)
On field A a have the event "OnEditChanged" which runs the calculation "input x 2".
Sounds great, but the problem is in detail, e.g. for "123"
- I press "1"
-> It calculates 1x2=2 and displays 2
-> It returns to field "A" and sets the cursor on the beginning of the field
- I press "2"
-> Instead of expected value "12" in field "A" I have now "21", because 2 was entered at the beginning of the field.
What to do to keep the normal order of the input - 123?
Happy new year to all!