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:
Name
Company
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, ??????)
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
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
197 | |
68 | |
46 | |
41 | |
27 |
User | Count |
---|---|
254 | |
121 | |
84 | |
80 | |
73 |