Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Add to Second Gallery

Got kind of a tricky question.


1.)  i have a form that gathers info.  I added a gallery that has a checkbox for classes that they can select(multiple).  I created a collection called "selectedclasses" to get all the info for the first signup person.  Here are the fields:



Class Count

Classes (checkbox in gallery)

SelectedClasses collection works.


2.) i added a button (Add Member) that can add a new member to signup for classes with the same fields above to a second gallery.  This is where im having issues.  How do i get the second gallery to capture new members by clicking button to add new people?  The second gallery is basically a class roster.


In the second gallery, im thinking

-(label)Name (Concatenate First Name, Last Name)

- (label) Classes ( this could be multiple selected checkboxes)


this is as far as i have got right now.......

ClearCollect(SelectedClasses, ??????)



Frequent Visitor

You mean you want to click  an button,add one item to the second gallery ?

1) set the OnSelect property of the button :

Collect(SelectedClasses,{Name: ****, Company:****,Class Count: ***,Classes:checkbox.selected.***})

***depends on your textinput control's name.


2) besides, you need to set the 2nd gallery's datasource and Items property to collection SelectedClasses


Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,719)