Webform: how to display warning message, when clicking upload, and no file is chosen?
You could use the client side validaiton module install it then configure it for webforms , you could also use the module's hooks to customise error messages or create custom error handling functions  client side validation