title: Laravel 5.8 on validation error return to specific view with all input -> old not working
body: <blockquote>
    <p>TLDR;</p>
    
    <p><strong>(In Laravel 5.8) Upon validation error, how can I return to a specific view with all input and the errors?</strong></p>
  </blockquote>
  
  <p>I'm creating a multistep form in which I need to validate the input on each step. Therefore, I have created the first page as a create and then the subsequent pages to update.</p>
  
  <p>On the second page, when the validator fails, I am returning the specific view as I want it to go to this partial and not the beginning of the form. I am also returning the errors and the input on fail.</p>
  
  <p>Controller:</p>
  
  <pre><code>if ($validator-&gt;fails()) {
      return view('partials.question_02_' . $type)
          -&gt;with('type', $type)
          -&gt;with('id', $id)
          -&gt;withErrors($validator)
          -&gt;withInput($request-&gt;all());
  }
  </code></pre>
  
  <p>Here is my validation logic:</p>
  
  <pre><code>$validator = Validator::make($request-&gt;all(), [
      'email'               =&gt; 'required',
      'first_name'          =&gt; 'required',
      'last_name'           =&gt; 'required',
      'phone'               =&gt; 'required',
  ]);
  </code></pre>
  
  <p>With this, I am able to go back to the specific view and with the validation errors. However, I am not able to receive the old input.</p>
  
  <p>The following in Blade will show that there is an erro (the <em>error</em> class appears), however, it will not show the old input.</p>
  
  <pre><code>&lt;input class="@if ($errors-&gt;has('first_name')) error @endif" 
  type="text" name="first_name" placeholder="First Name" value="{{ old('first_name') }}"&gt;
  </code></pre>
  
  <p><sup>*note, I only put it on two lines for legibility here</sup></p>
  
  <p>What is weird is that if I die and dump the request, I can see all of the input:</p>
  
  <pre><code>dd($request-&gt;all());
  </code></pre>
  
  <p>However, if I try to get it from the session, I don't see any of the input:</p>
  
  <pre><code>@if($errors)
      {{var_dump(Session::all())}}
  @endif
  </code></pre>
  
  <p><strong>Any idea why {{ old('first_name') }} isn't working in this case?</strong></p>
  
  <p>Thanks!</p>