Dropzone without AJAX upload

Web Tips Q & ACategory: Krajee PluginsDropzone without AJAX upload
fonta asked 2 years ago

Hi there,
At first I want to say that I really like this plugin and all of it’s options.
My question is about the dropzone. Is there anyway that you can use the dropzone without the AJAX upload?
I want the file input to be part of a bigger form which gets handled by a Laravel 5 controller.
Could you please help me out here?
Thanks!
Fonta

1 Answers
Kartik Staff answered 2 years ago

No you cannot use the dropzone without AJAX.
This is because the HTML native file input cannot be modified via javascript nor can files be added / deleted via javascript to a HTML native file input.
For your use case, you can try setting the ajax URL to your controller url and try submitting the rest of the FORM data via uploadExtraData (as a callback).

Login or register to contribute or comment.

Login   Register