jquery-steps
jquery-steps copied to clipboard
Dropzone.js not work !
Dropzone not working on jquery-steps
@mohammad-salehnia Hi, have you figured out this one?
I was struggling to fix this same issue. Just try to set "Dropzone.autoDiscover = false;" and be sure to instantiate your form with jquery-steps "before" the Dropzone object.
Hope it helps.
Thanks @vjpamorim for your comment. It works but it took me some time to understand. I got it working using programmatic way of making dropzones. For anyone who might be having similar problems - Just
-
create a basic wizard. I did not used forms for creating a wizard. Instead I used this -
<div id="wizard"> ... </div> -
Add dropzones programatticaly like this-
<div class="dropzone" id="dropzoneForm"> ... </div> -
Then write the script as follows -
<script>Dropzone.autoDiscover = false;$(document).ready(function(){$("#wizard").steps();var newDropZone = new Dropzone("div#dropzoneForm", {url : "/your/url"});});</script>
That's it! Hope it helps.