Javascript cannot read local files for security reasons, so we can't send the data using AJAX. So I have disabled ajax for insert forms which has 'blob' fields.