Submitting the form before upload of files is complete