Announcements
Hi,
If I click a button then it should assign some text for ex: "Hi" to a text box.
How can I achieve this?
If I click this button that "Text" should change to "Hi".
Hi Gopi,
About the button control, set its Onselect property to UpdateContext({Test:"Hi"})About the Text box control, set its Text property to Test.
Then when the button is clicked, “Hi” would be in the Text box. Hope this can be a reference for you.
More details about PowerApps UpdateContext function, please refer to this article:https://powerapps.microsoft.com/en-us/tutorials/function-updatecontext/
Best regards, Mabel Mao
I dont understand this statement "Then when the button is clicked, “Hi” would be in the Text box. Hope this can be a reference for you." Coz when I try to add TextInput1.Text=Test, it says circular reference.
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 395 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 260 Most Valuable Professional