web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Setting textfield data...
Power Apps
Answered

Setting textfield data with button select

(0) ShareShare
ReportReport
Posted on by 85

I'm taking my first jump into Power Apps and am trying to do something simple like set a text field with a predefined string using a button select. I'm running into issues. When I first open the form it will work correctly, after that it won't work at all.

The onselect property of the button has the following:

    UpdateContext({varComment: "Updated comment value.."})

The text fields default property has the following:

    varComment

It's my understanding that Power Apps underbelly is more like excel, I'm coming straight from InfoPath.

 

 

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,923 on at

    The onselect property of the button has the following:

       Set(varComment,"Updates comment value..")

    The text fields default property:

        varComment

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard