title: Keep form values when redirect back in Laravel 4
body: <p>I'm trying to keep the values of a form when Redirect::back on Laravel 4, but I can't find a way to do this.</p>
  
  <p>This is my form:</p>
  
  <pre><code>{{ Form::open(array('route' =&gt; 'generate', 'files' =&gt; true)) }}
  
      {{ Form::radio('myType', '1', true); }}
      {{ Form::label('myType', '1'); }}
  
      {{ Form::radio('myType', '2'); }}
      {{ Form::label('myType', '2'); }}
  
      {{ Form::radio('myType', '3'); }}
      {{ Form::label('myType', '3'); }}
  
      {{ Form::text('myName'); }}
  
      {{ Form::file('uploadImage'); }}
  
      {{ Form::submit('Go'); }}
  
  {{ Form::close() }}
  </code></pre>
  
  <p>And my controller:</p>
  
  <pre><code>$validator = Validator::make(Input::all(), array('uploadImage' =&gt; 'required|image', 'myName' =&gt; 'required'));
  
  if ($validator-&gt;fails()){
      return Redirect::back()-&gt;withErrors($validator);
  }
  </code></pre>
  
  <p>I tryed something like:</p>
  
  <pre><code>return Redirect::back()-&gt;withErrors($validator)-&gt;with('nameValue', Input::get('myName'));
  </code></pre>
  
  <p>And then in the view:</p>
  
  <pre><code>    {{ Form::text('myName', $nameValue); }}
  </code></pre>
  
  <p>But it still doesn't work. Any help will be appreciated.</p>