title: Get is being stripped off an HTML form
body: <p>I have an HTML form on a page.  The method is POST, but I'm manually adding a GET parameter to the URL string depending on which button the user clicks.  But when the form is submitted, the GET is being stripped off the URL.</p>
  
  <p>I'm really baffled by this.  This method has worked many times in the past, and <em>this actual form</em> itself used to work fine.  Suddenly, the exact same (formerly working) code doesn't work.</p>
  
  <p>I'm using Firefox Web Developer tools to look at which parameters are passed in the request, and there's no sign of the GET.</p>
  
  <pre><code>&lt;form method="post" target="_blank"&gt;
      &lt;input type="hidden" name="report" value="abc"&gt;
      ...a couple Select form fields...
      &lt;input type="submit" action="reports.php?format=PDF" value="Go"&gt;
      [&lt;input type="submit" action="reports.php?format=preview" value="Web Preview"&gt;]
  &lt;/form&gt;
  </code></pre>
  
  <p>Basically, if they click "Go" they should get a PDF, and if they click "Web Preview" they get the same report as a web page; but the "format" parameter isn't received on the processing end of things.</p>
  
  <p>(I've also tried it in multiple browsers.)</p>
  
  <p><strong>Edit to add:</strong> I can confirm that the POST data is being received on the processing end. Only the GET is missing.</p>
  
  <p><strong>Edit to add:</strong>
  If I move the action to the <code>&lt;form&gt;</code> tag, it works.  Of course that prevents me from having two buttons that do two things, so it doesn't solve the problem, but it's a clue to what might be happening.  This DOES work:</p>
  
  <pre><code>&lt;form method="post" action="reports.php?format=PDF" target="_blank"&gt;
      &lt;input type="hidden" name="report" value="abc"&gt;
      ...a couple Select form fields...
      &lt;input type="submit" value="Go"&gt;
      &lt;!-- [&lt;input type="submit" action="reports.php?format=preview" value="Web Preview"&gt;] --&gt;
  &lt;/form&gt;
  </code></pre>