Force upload file ajax without submitting form


I use a form with a multifile upload field.

There is a kind of dropzone where the file is uploaded temporary.
Then i need to submit the form to upload it definitively.

I’m wondering if it’s possible to do the action of submit and upload the file without submitting the form ?
And then if i can interact in backend (via a filter, or action) with this file ? (without submitting the form).


The multi-file upload field will upload the file to the server before the form is submitted. Here is a quick screen recording showing the uploaded file after uploading with the multi-file upload field, before submitting the form:

Does that help with any part of your question?

Thank you @chrishajer

I need to send this file on my CRM (via API). How can i code this ? Is there a special hook at the moment of the download ?


Hi Joe. I am not sure how to do that. I will leave this open in case anyone from the community has experience with that.