Uploaded data submission will be done in success callback.

I have a suggestion, the uploaded data submission will be done within success callback of ajax. So we can ensure that form inputs fields are populated all it's value through ajax, before submitting the form.