title: How do I determine the value of a dropdown?
body: <p>This is the Html form:</p>
  
  <pre><code>&lt;form action='use.py'&gt;
  &lt;div&gt;&lt;input type='text' name='etc'&gt;&lt;/div&gt;           
  &lt;p&gt;&lt;input type='submit' value='etc!'&gt;&lt;/p&gt;
  &lt;/form&gt; 
  </code></pre>
  
  <p>And this is the python for it</p>
  
  <pre><code> colour = form["colour"].value
  </code></pre>
  
  <p>The top html form is a text box that users can type something in.</p>
  
  <p>If I were to have a drop down box / radio button form like this:</p>
  
  <pre><code>&lt;form action='etc.py'&gt;
  
      &lt;p&gt;List Type:&lt;/p&gt;
      &lt;div&gt;&lt;input type='radio' name='status' value='bulleted' checked&gt;
          Bulleted
      &lt;/div&gt;
      &lt;div&gt;&lt;input type='radio' name='status' value='numbered'&gt;
          Numbered
      &lt;/div&gt;
  
      &lt;p&gt;Text style:&lt;/p&gt;
      &lt;div&gt;&lt;input type='checkbox' name='bold'&gt;
          &lt;b&gt;Bold&lt;/b&gt;
      &lt;/div&gt;
      &lt;div&gt;&lt;input type='checkbox' name='italic'&gt;
          &lt;i&gt;Italic&lt;/i&gt;
      &lt;/div&gt;
  
      &lt;p&gt;Movies to display:&lt;/p&gt;
      &lt;div&gt;
          &lt;select name='type'&gt;
              &lt;option&gt;Only numbers&lt;/option&gt;
              &lt;option&gt;Only names&lt;/option&gt;
          &lt;/select&gt;
      &lt;/div&gt;    
  
      &lt;p&gt;&lt;input type='submit' value='Display'&gt;&lt;/p&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How would I write my python? Like this?</p>
  
  <pre><code>only_numbers = form["Only numbers"].value
  </code></pre>