how to check if files are empty if the user doesnt know how many inputs files there will be in jquery code example
Example: How to check if input file is empty in jQuery
if ($('#videoUploadFile').get(0).files.length === 0) {
console.log("No files selected.");
}