title: Get the currently selected item from a pull down list in concrete5
body: <p>I'm trying to solve a problem using concrete5
  The user wants a block to be able to display information on a book selected from a database
  everything is in place up to the selection menu I can populate the drop down list with the titles in the database but when a book is selected the block simply displays the index value of the selection menu's options array.</p>
  
  <p>For example if the array looked something like</p>
  
  <p>0 => Harry Potter and the Goblet of Fire, 
  1 => Game of Thrones</p>
  
  <p>and the user selects Harry Potter from the list the block simply displays "0" as the given title. I'm reasonably sure i can fix this by means of using a function to assign the correct values by querying the database. but I can't seem to get the selected item from the selection menu only it's array index value.</p>
  
  <p>any thoughts?</p>
  
  <p>code is as follows</p>
  
  <p>add.php</p>
  
  <pre><code>    &lt;?php defined('C5_EXECUTE') or die(_("Access Denied.")) ?&gt;
  &lt;?php $titles = $controller -&gt; getTitles() ?&gt;
  &lt;div class="ccm-ui"&gt;
      &lt;?php echo $form-&gt;select('bookselect', $titles, 1, array('style' =&gt; 'width: auto;')) ?&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>I tried using <code>$ title = $this -&gt; $_REQUEST['bookselect'];</code> but it didn't work and now some hours later I'm at a loss</p>