Unable to submit the form with upload fields