Prevent file uploading
Prevent file uploading

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
This discussion has been closed.
Answers
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