Prevent file uploading

Prevent file uploading

serviceuserserviceuser Posts: 11Questions: 3Answers: 0

As I can see, uploading widget first sends file to backend, then uses returned file url. file() uses table name to upload file, but I have not a appropriate table, I must send file entirely. How can I prevent default uploading?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,192Questions: 1Answers: 10,412 Site admin
    Answer ✓

    Do you mean you want to send the file with the rest of the form? I'm afraid that's not how the upload field type works. It will always send the file async to the rest of the form.

    If you want to include the file as part of the main form, you'd need a custom upload field type.

    Allan

This discussion has been closed.