title: How to append form data in Laravel 7
body: <p>I have 3 forms, 2 for files and 1 for additional information. I append the file path from the 2 forms to the additional info form like this:</p>
  <pre><code>init: function init() {
        this.on(&quot;success&quot;, function (file, message) {
          var formData = new FormData(document.getElementById('patDetails'));
          formData.append('pdf_file', message);
          console.log(Array.from(formData.entries()));
        });
      }
  </code></pre>
  <p>And the other form:</p>
  <pre><code>init: function init() {
        this.on(&quot;success&quot;, function (file, message) {
          var formData = new FormData(document.getElementById('patDetails'));
          formData.append('image_file', message);
          console.log(Array.from(formData.entries()));
        });
      }
  </code></pre>
  <p>The console shows 2 forms, but only shows this:</p>
  <p><img src="https://i.stack.imgur.com/aA4uK.png" alt="Source code" /></p>
  <pre><code>0: &quot;_token&quot;
  1: &quot;V5kwCKcEfx5AtvyuePbSbDLR4iZTGiEKbDIa8n21&quot;
  
  1: Array(2)
  0: &quot;title&quot;
  1: &quot;&quot;
  
  2: Array(2)
  0: &quot;description&quot;
  1: &quot;&quot;
  
  3: Array(2)
  0: &quot;tags&quot;
  1: &quot;&quot;
  
  4: Array(2)
  0: &quot;price&quot;
  1: &quot;&quot;
  
  5: Array(2)
  0: &quot;currency&quot;
  1: &quot;euro&quot;
  
  6: Array(2)
  0: &quot;image_file&quot;
  1: &quot;image_files/Bt4PA3WpBQTerpRTpydK9DBo0k325GPDRBy3LF0k.jpeg&quot;
  
  </code></pre>
  <p>When I submit the form and <code>dd($request)</code>, it does not show the appended data, only the data from existing input fields.</p>
  <p>How can I append the <code>message</code> from the 2 forms the details form?</p>