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
Collect( StackData,
{
'1.Topic': Title1.Text,
'2.Result': TextInput1.Text
})
But the problem is that the result does not meet the objective. In the table, there is only data in the second row. I want to collect the data in both the first and second rows (excluding the third and fourth rows because there are no values entered in the TextInput fields).

How i can do it?
Thank you in advances