Hi Team,
I am looking for displaying error in each item of gallery if in case text value of item is empty as button is placed for every specific item of gallery.
I have been trying with below formula on button OnSelect but it shows error for all items because TextInput2.Text refers to whole gallery. However, I am looking for getting error specific to an item of gallery.
If(
IsBlank(TextInput2.Text),
UpdateContext({showErrorLabel: true}),
UpdateContext({showErrorLabel: false})
);
and ShowErrorLabel in error label visibility
I tried referring the TextInput2.Text with ThisItem but it doesn't accept that formula.
Here is the snapshot from my app..

On select of ConfirmWeight button if TextInput is empty, it shows error for all items. whereas I am looking to get the error only for the item whose button is selected.
Hope it make sense.
Appreciate any help on this!!!