title: Can I restore the input field values after validation through custom request objects in Laravel 5.1?
body: <p>Let's say I have a simple contact form.  </p>
  
  <pre><code>&lt;form action="/message" method="post"&gt;
      {!! csrf_field() !!}
      &lt;div class="form-group"&gt;
          &lt;label&gt;Name: &lt;/label&gt;
          &lt;input type="text" name="name" class="form-control"&gt;
      &lt;/div&gt;
  
      &lt;div class="form-group"&gt;
          &lt;label&gt;Email: &lt;/label&gt;
          &lt;input type="email" name="email" class="form-control"&gt;
      &lt;/div&gt;
  
      &lt;div class="form-group"&gt;
          &lt;label&gt;Your Message: &lt;/label&gt;
          &lt;textarea name="message" class="form-control"&gt;&lt;/textarea&gt;
      &lt;/div&gt;
  
      &lt;div class="form-group"&gt;
          &lt;button class="btn btn-primary"&gt;Submit Message&lt;/button&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Here is my controller to handle that request:  </p>
  
  <pre><code>public function sendMessage(ContactRequest $request)
  {
      dd($request-&gt;all());
  }
  </code></pre>
  
  <p>Notice that I am injecting <code>ContactRequest</code> object, so the validation is working perfectly.  </p>
  
  <h1>The Problem</h1>
  
  <p>How can I restore the old input values in the contact form? So that the user wouldn't have to refill all of the fields.</p>