Hi there,
I currently am working on a power apps application. I have a few checkbox options which i collect in a collection , I was following the tutorial by Reza Dorrani Multi Select Checkbox in Power Apps , i tried to store my values in a collection and set the collection as a default property and update property but it failed as it gave me an error. The other issue i have is that on submit the values should be stored in the collection so that when the user goes to view the submitted form they can check back on the checkbox item that they have chosen but is currently not working. Do review the screen shots and codes submitted below, do take note it can be a bit messy cause i just started working on it a few days ago:
Firstly on the checkbox in the new form:
Default property for the data card

Update property for the data card:

Gallery Items: Choices([@NCR_RequestTable.'MRB Disposition')

On Check: Collect(colMRBData, ThisItem)

On UnCheck: Remove(colMRBData, ThisItem)

OnVisible: Clear(colMRBData);
If(NCRReportForm.Mode <> FormMode.New,
Collect(colMRBData,NCRGalleryList.Selected.'MRB Disposition'))

The code is the same for my request details screen where user only views their submitted entry except i have disabled the checkbox when they go to view the form

Please do assist cause I am completely confused thank you