title: laravel-> on select change, submit to Controller show
body: <p>I must be missing something. I'm trying to get the on submit from a select, to show fields on the selected item.</p>
  
  <pre><code>//the view
  {{ Form::open(array('route' =&gt; 'user.show', 'name' =&gt; "frm_select_client")) }}
  
          {{Form::select('client_id', array('-1' =&gt; 'Please select...') + $usersperclient, null, array('class' =&gt; 'selectpicker', 'id' =&gt; 'client_id', 'name' =&gt; 'client_id', "onchange" =&gt; "document.frm_select_client.submit();") );}}
  
  {{ Form::close() }}
  
  //routes.php
  Route::resource('user', 'UserController');
  </code></pre>
  
  <p>I looking for a way to put the URL user/id (user/1901) to then go to UserController::show().
  All the examples i've been seeing go directly from a link to the show:</p>
  
  <pre><code>&lt;a class="btn btn-small btn-success" href="{{ URL::to('user/' . $value-&gt;id) }}"&gt;Show this user&lt;/a&gt;
  </code></pre>
  
  <p>I know i could do this in javascript, but i'm looking to do it in the best way, since i'll be doing this probably a lot. Hope this is clear.
  Thx in advance!</p>
  
  <p>EDIT:
  I was looking for a way to format the form submit to accomplish the resourceful format, in this case (user/{id} for the show).</p>