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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to update the cont...
Power Apps
Unanswered

How to update the context of datacard value using text input

(0) ShareShare
ReportReport
Posted on by 74

Hi, 

 

I'm building some powerapps request application. Please see the image below for your reference. 

 

daywalker_567_1-1683158362548.png

In this program, I will add TA Number in TextInput and then I will press Add sign. The TA Number that I added will go to Datacardvalue. My goal is to save as much as many TA Number that I will add to Datacardvalue. 

 

Please see the image below. 

 

daywalker_567_2-1683158815092.png

 

Thank you for your 

 

Categories:
I have the same question (0)
  • Verified answer
    Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Hi @daywalker_567 

     

    You can use your + icon to gather the text into a collection, then display that collection using the Concat function.  Once your user is done gathering items, you can have a different icon or button to save the values.  Here's an example:

     

    Plus Icon OnSelect formula:

    Collect(colTANumbers,TextInput1.Text)

     

    Display box text:

    Concat(colTANumbers,Value,", ")

     

    Rusk_1-1683160626555.png

     

    Rusk_0-1683160611418.png

     

  • daywalker_567 Profile Picture
    74 on at

    Hi @Rusk ,

     

    Thank you for your help.  🙂 

     

    God bless

  • daywalker_567 Profile Picture
    74 on at

    Hi @Rusk,

     

    I have second query, how do I reset the data card value field once I already submitted the TA number. 

     

    Thank you .

  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Good question!  In the above example, you can add a formula to both save the multiple values in the text box AND clear your collection.  The formula to reset your collection would be:

    ClearCollect(colTANumbers)
  • daywalker_567 Profile Picture
    74 on at

    Hi @Rusk,

     

    Thank you for the help. 

     

    Appreciated!

     

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard