I would like to be able to specify the valid extension(s) that a user can use on a file upload.
I want to help the user a bit more saying they can only upload for example .zip or .xml files, of only images. The accept attribute could be used for this.


I currently use a default, but that's triggered after someone has selected a file.