Announcements
Hi all,
I need some help to see if I can duplicate a text box using Button in Power Apps. I have to the Text box and a button in my power apps, and what I am trying to achieve is if the users need more Text boxes, they click on the button, and the following text box will display.
@Harris021
This is not possible in powerapps. Depending on your required functionality you might want to have a Look at the Concept of using gallery control.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @Harris021 :
I've made a test for your reference:
1\Add a button and set it's OnSelect property to:
Collect(TheCollection,1)
2\Add a gallery and set it's items property to:
TheCollection
3\Add a text input control into the gallery
Each time the button is clicked, the number of text input boxes will increase by one
Best Regards,
Bof
thanks for your message, if you I want to save this back to SharePoint list, is it possible?
Hi @Harris021 :
Yes , you can iterate through Gallery.AllItems to get the content of all textinput controls.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 542 Most Valuable Professional
Haque 206
Kalathiya 201 Super User 2026 Season 1