Hello,
I'm using a gallery to select each record which I want to patch data over OnSelect property of a button.
If (Toggle2.Value = true && !IsBlank(Trim(TextInput2_3.Text));
Patch(
ControlTask;
LookUp(
ControlTask;
ID = Gallery.Selected.ID
);
{
Comment2: TextInput2_3.Text;
Control2:true;
Feedback2:TimeValue(Label10);
User2: User().Email
}
);;Notify("Thank you for submit of data!");
Notify("Please fill out comment and switch toggle to YES";Error))
I actually have only two conditions: Toggle needs to be on "YES" and "Comments" Field cannot be empty. Thats all.
But even when several records in that Gallery meets that two conditions, it only patches one of those records. (Strangely always that one with the smaller ID)
Hope someone can point me to the right direction...I also tried with ForAll - function before the Patch(), but even when syntax seemed right nothing happened. Records where not patched.
Thank you very much in advanced.
Best.