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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get text input value i...
Power Apps
Unanswered

Get text input value inside a custom datacard

(0) ShareShare
ReportReport
Posted on by 142

Hi,

 

I have added a custom datacard and inserted a text input inside. 


Then i am running a Patch function to save the data inside of it. Formula is working fine but it was not getting the value inside my txtInput. My list is just getting a blank entry even if i have a value on it. How do i make this work?

 

Patch('Notes',Defaults('Notes'),{ Title: Form1.LastSubmit.Title },{Note:txtInput.Text})

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Get text input value inside a custom datacard

    Hi @powerdevkris ,

     

    Please set Onchange property pf text Input control to:

    Set(var,txtInput.Text)

     

    Then modifty your patch function

    Patch('Notes',Defaults('Notes'),{ Title: Form1.LastSubmit.Title },{Note:var})

     

    Best Regards,

    Wearsky

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard