title: form select size not working with DB populated options
body: <p>I have a SELECT element in form with about 70 options. All the options are not seen in the browser, so I am trying to add size="10" so that I get a vertical scroll. But it is not working. The options are populated from mysql database.</p>
  
  <pre><code>&lt;select size="10" name="depid"&gt;
                                     &lt;?php
  $wa_startindex = 0;
  while(!$listdephosdepartment-&gt;atEnd()) {
    $wa_startindex = $listdephosdepartment-&gt;Index;
  ?&gt;
                                         &lt;option value="&lt;?php echo($listdephosdepartment-&gt;getColumnVal("id")); ?&gt;"&gt;&lt;?php echo($listdephosdepartment-&gt;getColumnVal("name")); ?&gt;&lt;/option&gt;
                                       &lt;?php
    $listdephosdepartment-&gt;moveNext();
  }
  $listdephosdepartment-&gt;moveFirst(); //return RS to first record
  unset($wa_startindex);
  unset($wa_repeatcount);
  ?&gt;
   &lt;/select&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/s0QWW.png" alt="enter image description here"></p>
  
  <p>Any help appreciated.</p>