Dynamically Changing buttons and labels depending on the list provided

hello guys is there a way from one screen depending on the button pressed the list of labels and text changes on the second screen dynamically (example when you pressed button one all the texts and labels on that list ofc different values updates on the second screen) im using tinydb as a db thank you in advance

Yes, you can do this. You need to pass a variable created when a particular button is pressed, so that the second screen can call up the correct set of values.

1 Like

hello can you show me how you can do it?(in blocks) I just wanted to know how I can do that without setting up multiple set Text blocks

SCREEN 1

image

Blocks

SCREEN 2

after Set A pressed
image

after Set B pressed
image

Blocks
image

You could also setup your Screen2 blocks like so:

This works thank you very much, I just made some adjustments to it since there's another problem im encountering but to think it's the global initialization that messes up the process of changing everything :smile: