alexander-schranz/sulu-form-bundle

Add dropzone example

Closed this issue · 1 comments

TODO when using dropzone:

  • set the correct paramName
  • submithandling

successmultiple:

this.on("successmultiple", function(files, response) {
    if ($(response).find('.dynamic-form').length) {
        $('.dynamic-form').replaceWith($(response).find('.dynamic-form'));
        this.myDropzone.destroy();
        this.init();
    } else {
        window.location.href = '?send=true';
    }
});