title: How to get unchecked checkbaox values in Laravel (PHP)
body: <p>There are 4 check boxes with the same name in the view, and when I get the values in the laravel(php) controller with that name, I am supposed to get an array. But I am only getting the values of the check boxes which are checked, even I am not getting zero or null in place of unchecked checkboxes.</p>
  
  <pre><code>&lt;div id="action1" name="action1[]"&gt;
                              &lt;input type="checkbox" name="checkAction1[]" &gt;
                              &lt;select id="a1" class="form-control actionSelect" name="action1[]" &gt;
                                  &lt;option value="" selected="selected"&gt;Action Name&lt;/option&gt;
                              &lt;/select&gt;
                              &lt;select class="form-control catSelect" name="cat1[]"&gt;
                                  &lt;option value="" selected="selected"&gt;Category Type&lt;/option&gt;
                              &lt;/select&gt;
  
                          &lt;/div&gt;
                          &lt;div id="action2" name="action1[]"&gt;
                              &lt;input type="checkbox"  name="checkAction1[]" &gt;
                              &lt;select class="form-control actionSelect" name="action1[]" &gt;
                                  &lt;option value="" selected="selected"&gt;Action Name&lt;/option&gt;
                              &lt;/select&gt;
                              &lt;select class="form-control catSelect" name="cat1[]"&gt;
                                  &lt;option value="" selected="selected"&gt;Category Type&lt;/option&gt;
                              &lt;/select&gt;
  
                          &lt;/div&gt;
                          &lt;div id="action3" name="action1[]"&gt;
                              &lt;input type="checkbox"  name="checkAction1[]" &gt;
                              &lt;select class="form-control actionSelect" name="action1[]" &gt;
                                  &lt;option value="" selected="selected"&gt;Action Name&lt;/option&gt;
                              &lt;/select&gt;
                              &lt;select class="form-control catSelect" name="cat1[]"&gt;
                                  &lt;option value="" selected="selected"&gt;Category Type&lt;/option&gt;
                              &lt;/select&gt;
  
                          &lt;/div&gt;
                          &lt;div id="action4" name="action1[]"&gt;
                              &lt;input type="checkbox"  name="checkAction1[]" &gt;
                              &lt;select class="form-control actionSelect" name="action1[]" &gt;
                                  &lt;option value="" selected="selected"&gt;Action Name&lt;/option&gt;
                              &lt;/select&gt;
                              &lt;select class="form-control catSelect" name="cat1[]"&gt;
                                  &lt;option value="" selected="selected"&gt;Category Type&lt;/option&gt;
                              &lt;/select&gt;
  
                          &lt;/div&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>$checkboxArray=$request['checkAction1'];
  </code></pre>
  
  <p>Its only giving checked check boxes.</p>
  
  <p>Could any one help on this. Thank you.</p>