cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Multiple textboxes use as Dropdown else where

I have a gallery which has a repeating table to collect few text values.

 

RepTable.png

 

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?

5 REPLIES 5
Highlighted
Super User
Super User

Re: Multiple textboxes use as Dropdown else where

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. 

Highlighted
Anonymous
Not applicable

Re: Multiple textboxes use as Dropdown else where

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.

Highlighted
Anonymous
Not applicable

Re: Multiple textboxes use as Dropdown else where

Pls help.

Highlighted
Community Support
Community Support

Re: Multiple textboxes use as Dropdown else where

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

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Anonymous
Not applicable

Re: Multiple textboxes use as Dropdown else where

Thanks Mona. The number of textboxes may increase. They are not limited to two. Pls advise how to tweek the code?

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (5,082)