Hello everyone,
I want to collect data from the gallery where numbers have been entered in the TextInput, and store it in a Collection.
Example:
This my gallery, I have 4 row and key data in the Textinput 2 Row. (I want to keep data only 2 row.)
i use Collect function to keep the result from gallery
How i can do it?
Thank you in advances
It's work!!!
Thank you.
Hi @CookieNamtarn,
On the Save button's OnSelect you could write the code below that will save all gallery items for which the Text Input control is not blank:
//Save Button's OnSelect property
ClearCollect(
colStackData,
ForAll(
//Change GalleryName accordingly
Filter(
GalleryName.AllItems,
!IsBlank(TextInput1.Text)
),
{
'1.Topic': Title1.Text,
'2.Result': TextInput1.Text
}
)
)
If this solves your question, would you be so kind as to accept it as a solution. ✔️
If you liked my solution, please give it a thumbs up. 👍
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.