Submitting file upload with form data in a single POST

Submitting file upload with form data in a single POST

vincellcvincellc Posts: 10Questions: 3Answers: 0
edited September 2017 in Editor

Is it possible to submit all the form data edited by the user together with file upload in a single POST?

Currently I'm seeing that Editor submits the upload to the server as soon as the user selects the file, without any of the form data. On the contrary, the "Update" button on the Editor modal only submits the form data without the upload.

I'd like to be able to submit both simultaneously, because the form data will help my server app decide what to do with the upload.

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    Currently no - sorry. The built in upload field type is async from the rest of the form. This question has come up a few times before so adding a sync option to the upload fields is probably a good idea.

    Thanks,
    Allan

This discussion has been closed.