title: Bootstrap Modal Form Post/GET doesn't send field values
body: <p>I have a simple modal form :</p>
  
  <pre><code>&lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
  
  &lt;div class="modal-dialog"&gt;
  &lt;div class="modal-content modal-lg"&gt;
  &lt;div class="modal-header"&gt;
  &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
  &lt;h4 class="modal-title" id="myModalLabel"&gt;Address Maintenance&lt;/h4&gt;
  &lt;/div&gt;
  &lt;div class="modal-body"&gt;
  
  &lt;form class="form-horizontal" role="form" id="maintainAddress" method='GET' action="test.php"&gt;
  &lt;div class="form-group"&gt;
  &lt;label for="addressID" class="col-sm-2 control-label input-sm"&gt;Address ID&lt;/label&gt;
  &lt;div class="col-sm-4"&gt;
  &lt;input type="text" class="form-control input-sm" id="addressID" placeholder="Address ID"&gt;
  &lt;/div&gt;
  &lt;label for="houseNo" class="col-sm-2 control-label input-sm"&gt;House No&lt;/label&gt;
  &lt;div class="col-sm-4"&gt;
  &lt;input type="text" class="form-control input-sm" id="houseNo" placeholder="House No"&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;/div&gt;
  &lt;div class="modal-footer"&gt;
  &lt;button type="submit" class="btn btn-default"&gt;SAVE&lt;/button&gt;
  &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;CANCEL&lt;/button&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  &lt;/div&gt;&lt;!-- /.modal-content --&gt;
  &lt;/div&gt;&lt;!-- /.modal-dialog --&gt;
  &lt;/div&gt;&lt;!-- /.modal --&gt;  
  </code></pre>
  
  <p>test.php is :</p>
  
  <pre><code>&lt;?
  
  $addressID=$_GET["addressID"];
  $houseNo=$_GET["houseNo"];
  
  echo  $addressID . " " .  $houseNo;
  
  
   ?&gt;
  </code></pre>
  
  <p>test.php does get invoked on clicking 'SAVE' button but test.php is unable to receive any field values of addressID and houseNo. Error message is "</p>
  
  <p>Notice: Undefined index: addressID in D:\proto\xampp\htdocs\scorecard\test.php on line 3
  Notice: Undefined index: houseNo in D:\proto\xampp\htdocs\scorecard\test.php on line 4</p>
  
  <p>I have tried changing GET to POST but still it doesn't work.</p>