title: How to retrieve selected option's value in Laravel 5 dropdown list?
body: <p>My dropdown list is prepopulated with names using a 'Users' table. I wish to use the selected name's id to then fill a table underneath the dropdown list with that person's email, also stored in the same 'Users' table. Any ideas on how I should do that while keeping everything safe? </p>
  
  <p>My form:</p>
  
  <pre><code>&lt;div class="form-group"&gt;
      &lt;label for="employee-select" class="control-label col-md-3"&gt;Select Employee&lt;/label&gt;
         &lt;div class="col-md-8"&gt;
            &lt;div class="col-md-10"&gt;
               {{Form::select('user',$users, null, ['placeholder' =&gt; 'Choose employee...', 'class'=&gt; 'select-block-level chzn-select'])}}
             &lt;/div&gt;
         &lt;/div&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>The controller:</p>
  
  <pre><code>public function create()
      {
          $users = User::lists('name','id');
  
          return View::make('sickleaves.create')-&gt;with('users',$users);
      }
  </code></pre>
  
  <p>routes.php:</p>
  
  <pre><code>Route::resource('sickleaves','SickLeaveController');
  </code></pre>