Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Get text input value inside a custom datacard

Posted on by 122

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:
  • Verified answer
    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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,246

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,884

Leaderboard