title: How to append Dropzone return value to Form Data
body: <p>I have an Ajax that submit form data with laravel validation.</p>
  
  <pre><code>$('body').on('click', '#submit', function(){
   var form_data = new FormData($('form')[1]);
  
   $.ajax({
       url:'/admin/products/',
       type:'POST',
       processData: false,
       contentType: false,
       dataType: 'json',
       data:form_data,
       success:function(data) {
  
       },
   });
  </code></pre>
  
  <p>then also Dropzone file upload/remove in separate Ajax url.</p>
  
  <pre><code>&lt;div id="fileInput" class="dropzone"&gt;
      &lt;input name="p_file" type="file" multiple /&gt;
  &lt;/div&gt;
  
  Dropzone.autoDiscover = false;
  new Dropzone('#fileInput', {
      // paramName: 'p_file',
      url: "/admin/products/upload",
      // autoProcessQueue: false,
      addRemoveLinks: true,
  
      init: function () {
          var myDropzone = this;
          myDropzone.on('success', function (file, serverResponse) {
              var fileuploded = file.previewElement.querySelector("[data-dz-name]");
              fileuploded.innerHTML = serverResponse;
          });
  
          myDropzone.on('removedfile', function(file, response) {
              var name = file.previewElement.querySelector('[data-dz-name]').innerHTML;
          });
  
          sending: function (file, xhr, formData) {
              // formData.append("name", $('#name').val());
          }
  })
  </code></pre>
  
  <p>According to documentation, I have to use this to do normal form submission.</p>
  
  <pre><code>sending: function (file, xhr, formData) {
          // formData.append("name", $('#name').val());
      }
  </code></pre>
  
  <p>but I would like to append Dropzone value into form_data of first Ajax, instead of append other form_data to Dropzone as in documentation.
  How can I do ?</p>