I have a Gallery that displays 1 or more records based on user selection. The record(s) contain multiple fields, of which I need to verify that 2 fields (Asset ID, VIN) in all records displayed in the gallery contain values when the user presses a save button. I have the following code in place and it works, but I'm curious if there is a more efficent way to do this, as it feels a bit clunky to me (creating a collection to hold the rowcounts of blank records).
Here is the screen:

Here is the code:
Clear(ValidateCollection);
//Create a new collection to check if all required fields are populated
ForAll(
EquipmentGallery_DetailsScreen.AllItems,
If(
IsBlank(AssetIDTextInput_DetailsScreen.Text) || IsBlank(VINTextboxInput_DetailsScreen.Text),
Collect(
ValidateCollection,
{RequestID: RequestIDDataLabel_DetailsScreen.Text}
)
)
);
//If we have rows, then we have blank required field entries
If(
CountRows(EquipmentGallery_DetailsScreen.AllItems) <> 0,
"Save code goes here",
UpdateContext({conValidationErr: true, conValidationMessage: "!"})
)
I use the context variable to drive user feedback for the required fields.