File upload....How to find the user entered any file or not
I am working on with file upload UI.
Some times without clicking on browse button, I mean without entering any file they are cliking on upload button, which is giving the exception.
I know there is no action for UI element, Then how to resolve this?
I just control the user, not to press the upload button without entering any file name there?
How to resolve this?