Skip to main content

Notifications

Power Apps - Building 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:
  • Verified answer
    eka24 Profile Picture
    eka24 20,921 on at
    Re: Setting textfield data with button select

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard