Hi Guys,
So I have a gallery on my app that works like a CheckOut of online store.
Before it navigates to the next screen I want to validate if there are no materials with the 0 quantity selected.
The quantity field (red rectangle) is an input field, txtQtd.
ForAll(Gallery12_1.AllItems;
If(txtQtd.Text = "0";
Notify("There are materials with quantity 0";NotificationType.Error);
Notify("Ok";NotificationType.Success)))
Problem is, it only works with the last "record". In this case (image above) it´s returning OK, despite there is a material with quantity 0 (the middle one).

Report
All responses (
Answers (