title: Pass chosen Laravel dropdown option into the controller
body: <p>View:</p>
  
  <pre><code>{{ Form::open(array('url'=&gt;'agents/searchStaff', 
                      'class'=&gt;'form-search', 
                      'role'=&gt;'form')) }}
  
          &lt;select class="form-control"&gt;
            @foreach ($company-&gt;users as $user)
            &lt;option id="{{ $user-&gt;id }}" name="agent"&gt;
                        {{ $user-&gt;firstname }} {{ $user-&gt;surname }}
            &lt;/option&gt;
            @endforeach
          &lt;/select&gt;
  {{ Form::close() }}
  </code></pre>
  
  <p>Route:</p>
  
  <pre><code>Route::post('agents/searchStaff', 'AgentsController@postSearchStaff');
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>public function postSearchStaff()
  {
      $agent_id = Input::get('agent');
      dd($agent_id); // For testing purposes - Always returns NULL.
  }
  </code></pre>
  
  <p>I'm unsure as to why the option value's ID isn't being passed onto the controller. Any help and guidance would be appreciated.</p>