title: Dynamically update form action based on selected <option>
body: <p>So, this is what I am trying to do.. I want a dropdown in HTML with a submit button that changes based on the value of the dropdown.</p>
  
  <p>So, when I have this:</p>
  
  <pre><code>&lt;select name="sizes" id="select13"&gt;
  &lt;option value="All"&gt;All&lt;/option&gt;
  &lt;option value="20x30"&gt;20x30&lt;/option&gt;
  &lt;option value="30x30"&gt;30x30&lt;/option&gt;
  ...
  &lt;/select&gt;
  </code></pre>
  
  <p>What I need is a button that checks what the value is. If value = 20x30 then use URL www.example.com/20x30</p>
  
  <p>If value is 30x30 then use URL www.example.com/30x30</p>
  
  <p>I am far from a PHP expert, so anyone that is able to set me off in the right direction would be a life saver :)</p>