File upload restriction

Is there a way to limit the the file upload to a single file type (extension)?

Check Accept property:


https://www.w3schools.com/tags/att_input_accept.asp
1 Like