How to sequentially change property all components?

@tatiang @muneer

Hi, I hope you are doing well. I was wondering if you (or anyone) could help me with trying to sequentially change the property of all components in a screen. I have a demo screen below:

Basically, what I would like to occur is when you click a text item in the list viewer, that item will become the text of the first text input and then you click again, the text item will become the text of the second text input and so on.

I understand that this will probably need to use the ‘any component’ function however, I have not had much success if finding a solution. What I currently have is as follows:

Screen Shot 2564-10-25 at 21.19.54

Any help would be much appreciated.

Thanks!

1 Like

Can I rephrase what you explained as this:

When the user clicks in any item in the list, the item is automatically inserted in the first available input field.

Is this what you are looking for?

If yes, then are the number of elements equal to the number of input fields?
If no, what should the app do if there are no more empty input fields?

1 Like

@muneer
Yes, I would like the text item to populate the first available text input, however, I plan to not have the number of text items equal to the the text fields as I want the user to select one list item for more than one fields. Does that help?

1 Like

For sake of demo, I made a quick app using pre-filled items

Check to see if this is what you were explaining
https://x.thunkable.com/projectPage/6176d0e8282b8500104823fb

2 Likes

Thank you sir, this works perfectly!

Appreciate the help as always.

1 Like