title: Double Action on a Single HTML Form
body: <p>I understand that I cant do a double action on a single form. I am using a form for login purposes and need one of the form inputs on another file <code>header.php</code>. How is it possible for me to do so in PHP or JavaScript?</p>
  
  <p>This is my code if u guys need a reference:</p>
  
  <pre><code>&lt;form id="loginForm" name="loginForm" method="POST" action="&lt;?php echo $loginFormAction; ?&gt;"&gt;
      &lt;input type="radio" name="RadioGroup1" value="patient" id="RadioGroup1_0" /&gt;
      &lt;input type="radio" name="RadioGroup1" value="clinic" id="RadioGroup1_1" /&gt;
      ....
      &lt;input name="login" type="submit" class="loginButton" id="login" value="Log In" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The <code>$loginformaction</code> variable is an action for login. So i need to add another action to the form that will help me get the radiogroup input into another file.</p>