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 / collection from form D...
Power Apps
Unanswered

collection from form DataCardValues inserted into a gallery?

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I have an app, whereby there is a new form capture, with a few extra odds and ends collected outside the form and then inserted into the datacards via what means (usually a collection, etc).

 

I have a gallery off to the right side of my form, where I have inserted datacardvalues (from the same form) in order to capture a table of data, which I then plan to concat into a single line of string and insert back into a single datacard in the form (it's just easier for the user to input it into a table via the gallery).

 

My question is, I'm having a blank on the best way to collect the data from the gallery. Ideally, it would be nice to trigger the collection the minute the user inputs data into each datacardvalue within the gallery instead of asking them to click a button and execute the collection.

 

Has anyone done something like this before? 

 

DW

Categories:
  • RoopeKorpela Profile Picture
    127 on at

    Could you use OnChange property in the gallery controls to ClearCollect the gallery's values when user inputs data there? Then use that collection to populate the form fields?

  • DGWolfe Profile Picture
    on at

    @RoopeKorpela I did try that, but it's only collecting the first input, not the rest. I tried copying over to all inputs, but it then fails. 

  • RoopeKorpela Profile Picture
    127 on at

    I tried to replicate what you are trying to solve. Please check the attached images to see if they are beneficial to your needs.

    Concat.png
    OnChange.png
  • RoopeKorpela Profile Picture
    127 on at

    @DGWolfeDid you find answer to your question?

  • DGWolfe Profile Picture
    on at

    @RoopeKorpela apologies for the delay, I was away for a few weeks.

     

    I tried this solution (see image attached). The Collection however, just shows up blank (I also added the collection to the OnChange for each datacardvalues that are included in the collection).

     

    Collection error.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard