I'm working on an app which should check if there are any blank values when I click a button.
I have two SharePoint lists: 'Deliveries' and 'Pallets_1'.
There is a gallery item that is selected, and on the new screen, only the selected delivery is shown - from here, I can create X number of pallets (created in 'Pallets_1'), which needs to have the measurements "Height", "Length" and "Width".
When clicking "Complete", it should check if all measurements in the pallets linked to the same Title as 'Deliveries' have any data in them - if not, then an alert will display; if all measurements have data, then it will patch (the patch function is already working).
Trying my hand at pseudocode:
Match the Title in Deliveries with the Title in Pallets_1
Then look at all pallets with the same Title, and check if the measurements are blank - if blank, notify the user that there are inputs missing
If I'm not providing enough information, please let me know which information is needed.