I\'d like to restrict the type of file that can be chosen from the native OS file chooser when the user clicks the Browse button in the
I may suggest following:
If you have to make user select any of image files by default, the use accept="image/*"
if you want to restrict to specific image types then use accept="image/bmp, image/jpeg, image/png"
if you want to restrict to specific types then use accept=".bmp, .doc, .pdf"
You cannot restrict user to change file filer to all files, so always validate file type in script and server