"how should I pass the values about the uploaded files along with the form being submitted by the user?"
session 🙂
open a pop-up site to upload the files, and store its data in session.
then you can make an ajax query, or just simple wait till the user submit the form,
and the problem has solved.
there are drag and drop file uploaders, you can easily insert into a form, and it makes with iframe.