title: How to remove trailing question mark from a GET form with no fields?
body: <p>Example:</p>
  
  <pre><code>&lt;form&gt;
      &lt;input type='submit'&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When submitted results in:</p>
  
  <pre><code>http://example.com/?
  </code></pre>
  
  <p>How to make it:</p>
  
  <pre><code>http://example.com/
  </code></pre>
  
  <p>?</p>
  
  <p>[This is a very simple example of the problem, the actual form has many fields, but some are disabled at times. When all are disabled, the trailing ? appears]</p>