Don't show submit button if selected file is incorrect when uploading a picture