How To Validate File Format For Uploading
If you want to allow to upload file of specific format then you have to use validation java script.if some one try to upload other format file then pop message appears that "format is invalid".
Java script
File upload