You can use the jQuery .val() method to check if a value is set, but I don't know if this works for file input types.
However, you must use a server-side language to validate your files, because if you use javascript, the person viewing the page may simply turn off validation. Just skip the file[] array and see if it is empty or not.
It is much safer and easier, in fact.
source share