title: How to post file with new html form from append in laravel
body: <p>I have issue about the picture doesn't send to server. ok let me to tell about my code. I have code jQuery which the code append edit modal to container edit. the below code is container edit which to put edit modal from server</p>
  
  <pre><code>&lt;div id="container-edit"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>and then I have called ajax which to get some code modal edit form and the result this</p>
  
  <pre><code>&lt;form method=post enctype="multipart/form-data" action=gotolinkedit&gt;
      &lt;input type=text name="example1" value="somevalue" /&gt;
      &lt;input type=file name="picture" /&gt;
      &lt;input type=submit name="btnSubmit" value="submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>and when I submit, the input example1 receive my input, but the input file picture doesn't get my upload picture. </p>
  
  <p>and this my controllers code</p>
  
  <pre><code>&lt;?php
  namespace App\Http\Controllers\FrontEnd\MarketPlace;
  
  use Illuminate\Http\Request;
  use App\Http\Controllers\Controller;
  
  class ListOrderServices extends Controller
  {
  public function editServices(Request $request) {
      if ($request-&gt;file('picture') == null) {
          return dd($request-&gt;input('picture'));
        }
      }
  }
  </code></pre>
  
  <p>and the return is null.</p>
  
  <p>how to solve this problem?</p>