About simplifying blocks

Can blocks like this be simplified?

Because if I have a lot of text boxes it will make my application a little problematic

Store the data in a list and use only one tag to store the list in TinyDB
Then use the advanced blocks to set the text for the textboxes in a for each in list loop one by one

Here is an example with checkboxes

Taifun

Sorry, can you help me to correct these blocks?

1st save all text box as list with 1 tag then
Use For each Num Loop instead For each item loop with Any textbox text… then get Tinydb tag by Num

1 Like

Can you show the blocks?

i can but not right now…outside

yeah that’s fine, I’ll wait

@Afifah tell me 1 thing what you want to do with these text boxs? i mean what you want to acheive?

@Professional I’m creating a learning application and students will fill in answers, I want those answers to remain saved even if they exit the application.

Does this only apply to one textbox? because after I add another textbox, the values ​​of textbox 1 and the others will be the same

here is an example with 3 textboxes… just add more yourself…

textbox.aia (3.3 KB)

Taifun

This works very well, thank you very much for the help.

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