Hi everyone,
I would like to save all the data that is entered in the text fields in a gallery into a collection on the click of a button which I am trying to achieve through this formula.
Collect(
DataToPatch,
ForAll(
Gallery5.AllItems,
{
rowNum: Label20.Text,
repNum: Label24_1.Text,
department: Dropdown8.Selected.Dept,
hod: Label37.Text,
level: Radio5_1.Selected.Value
// Add more fields as needed
}
)
);
However I am running into a problem whereby I am only saving the data of the current item in the gallery. I am not sure if it matters but all the text labels and dropdown boxes etc. are placed in a container within the gallery. Your help would be very much appreciated!