hi,
1. you can hide the submit button by default, then show it after uploaded. so the user can not post the form until the upload success.
2. Can you explain your requirement in detail?
Regards,
Ken