title: opening new window using bootstrap modal
body: <p>I have this registration form and when Submit button is clicked 
    <code>&lt;form action="viewReg.php"&gt;</code> will pop up using bootstrap modal. together will the value i input on the form. i already know how to get those value from the input fields. i just wanna to pop up the result using modal <code>viewReg.php</code></p>
  
  <p>i tried <a href="http://getbootstrap.com/2.3.2/javascript.html#modals" rel="nofollow noreferrer">http://getbootstrap.com/2.3.2/javascript.html#modals</a>
  but it doesn't have guide for external link using Forms.</p>
  
  <p><strong>edit</strong>
  There are two pages.. Registration.html and viewReg.php</p>
  
  <p>I'm new to coding.</p>
  
  <pre><code>&lt;form action="viewRegistration.php" method="post" &gt;
  
    &lt;!-- Table --&gt;
    &lt;table class="table"&gt;
    &lt;tr&gt;
      &lt;td&gt;USN&lt;/td&gt;
      &lt;td&gt;&lt;input type="text" name="usn" placeholder="USN #"&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;First Name&lt;/td&gt;
      &lt;td&gt;&lt;input type="text" name="firstname" placeholder="First Name" style="text-transform: capitalize;"&gt;&lt;/td&gt;
  &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Last Name&lt;/td&gt;
      &lt;td &gt;&lt;input type="text" name="lastname" placeholder="Last Name" style="text-transform: capitalize;"&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Email&lt;/td&gt;
      &lt;td&gt;&lt;input type="text" name="email" placeholder="Email Address"&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Birthday&lt;/td&gt;
      &lt;td&gt;&lt;input type="text" id="datepicker" name="datepicker" placeholder="Your Birthday"&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Place of Birth&lt;/td&gt;
      &lt;td&gt; 
          &lt;select name="pob"&gt;
          &lt;option value="Manila"&gt;Manila&lt;/option&gt;
          &lt;/select&gt; 
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Course&lt;/td&gt;
      &lt;td&gt;&lt;select name="course"&gt;
          &lt;option value="Bachelor of Science in Information Technology"&gt;BS in Information Technology&lt;/option&gt;
          &lt;/select&gt; 
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/div&gt;  
  &lt;input type="reset" value="Reset" class="btn btn-primary"&gt; &lt;input type="submit" value="Submit" class="btn btn-primary"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/nUx4x.png" alt="enter image description here">
    <img src="https://i.stack.imgur.com/8JTGG.png" alt="enter image description here"></p>