title: Laravel 5 checkbox not storing value from submit form
body: <p>I have added a checkbox to my existing submit form that must change from value 0 to 1 if it is activated. But they dont' save the value, it's always 0.</p>
  
  <p>My code:</p>
  
  <pre><code> &lt;label class="checkbox-inline"&gt;
        &lt;input type="checkbox" id="inlineCheckbox1" value="true" name="trackingnumber"&gt; You provide an Tracking Number   
   &lt;/label&gt;
  </code></pre>
  
  <p>ProductController:</p>
  
  <pre><code>if ($request-&gt;trackingnumber == 'true') {
      $product-&gt;trackingnumber = true;
  }
  </code></pre>
  
  <p>What have I forgotten?</p>