title: How can I remove empty fields from my form in the querystring?
body: <p>I have a simple form with four inputs. When I submit my form, I want to use the GET http method.</p>
  
  <p>For the example :</p>
  
  <pre><code>aaa : foo
  bbb : ____
  ccc : bar
  ddd : ____
  </code></pre>
  
  <p>I want to have <strong>this</strong> query string :</p>
  
  <pre><code>/?aaa=foo&amp;ccc=bar
  </code></pre>
  
  <p>The problem is I have this query string :</p>
  
  <pre><code>/?aaa=foo&amp;bbb=&amp;ccc=bar&amp;ddd=
  </code></pre>
  
  <p>How can I remove empty fields from my form in the query string ?</p>
  
  <p>Thanks.</p>