Need to convert two values in text boxes

Dear All,
I’m trying this to creat a convertion app.

This is what I need,
After typing, need to multiply value (Value1) in text box 1 with “global a” and show it in Text box 2,
Also if we type a value in text box 2, need to clear text box 1 automaticaly and multiply the relevent value (Value2) entered in text box 2 with “global b” and show the answer in text box 1

Q1) How can I do this without applying a button to proceed the multiply command. (to convert simultaneously while we are typing)

Q2) Also, how can I apply a loop to control further multiplying the values in either text box 1 or 2, after proceeding one multiplication for one instance. Is there a better way except the loops

Greatly apprciating your support

Show what you have tried yourself. Users who have tried themselves are more likely to get help on this community.

2 Likes

Have you tried this block?

2 Likes

Hi Ken,
Yes I have tried. Thanks

S1

Hi Peter,
Sorry, My blocks haven’t attached in the post, I have attached them now

sorry, my blocks haven’t attached earlier, this is what I tried

S1

Try this:

textboxCalc.aia (3.0 KB)

2 Likes

To empty TextBox_2 when TextBox_1 is empty (after removing text by pressing the keyboard back button), and vice versa, try the following:


textboxCalc2.aia (3.1 KB)

2 Likes

Hi,
Thank you very much, this blocks do exactly what I needed.

2 Likes

Hi,
Thanks a lot for the support

Warm Regards

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.