I have a gallery which has a repeating table to collect few text values.
Now, i would like to use these values in a dropdown and use it in various places in the same app. Can someone please help me with the logic for the same?
You could achieve this by creating a collection that stores those selections and then refer back to that collection elsewhere in the app.
Let me know if you need a little more help on that and I have a few apps I can pull out what I used to acheive.
I am newby and learning while i buid it. Pls do share few so that i can get this done and learn on the go.
Thank you rebecca.
Pls help.
Hi @Anonymous ,
Are these text that you are trying to use as the options of a dropdown control inside multiple textinput controls? If so, then please follow below steps to achieve this:
1. Insert a button control, set its OnSelect property to:
ClearCollect(C1,{Options:TextInput1.Text},{Options:TextInput2.Text})
TextInput1 and 2 are the textinput controls' names.
2. Insert a dropdown control. Set below formula in the Items property of the dropdown control:
C1.Options
Regards,
Mona
Thanks Mona. The number of textboxes may increase. They are not limited to two. Pls advise how to tweek the code?
User | Count |
---|---|
121 | |
88 | |
88 | |
75 | |
66 |
User | Count |
---|---|
216 | |
180 | |
138 | |
96 | |
73 |