Hi Power Apps Community,
I am trying to create a collection of the items in a Gallery.
Issue: The values which I am trying to collect are from two controls (Radio and Text). Depending on the control used, I would like to collect the relevant data. As seen below, I have been trying to incorporate the IF statement in the Collection.
ForAll(Gallery.AllItems,
Collect(CollectionName,
{Field1:Title.Text,
Field2: If('Field' = "Value", Radio.Selected.Value, TextInput.Text}));
I would appreciate any help.
Thank you in advance.