title: Auto submit form on page load
body: <p>I'm having a bit of trouble with my current issue. Any help would be greatly appreciated.</p>
  
  <p>I have a step in a 'signup process' which I don't need anymore, but I don't have time to reconfigure the entire process so I'm trying to auto submit the form on page load so it will basically skip over this step. Any thoughts?</p>
  
  <p>EDIT: Sorry, I should mention, originally there were two submit options, I got rid of one, now I just want to submit the 'mem_type' option on page load. not sure if that makes much of a difference.</p>
  
  <pre><code>&lt;form method=post action="&lt;?=$base_href.url("signup")?&gt;" name="member_signup"&gt;
  &lt;input type=hidden name="process" value="facility_info"&gt;
  &lt;input type=hidden name="create_order" value="true"&gt;
  
  &lt;?php
      foreach ($_POST as $k=&gt;$d) {
          if ($k === 'textarea') continue;
          echo "&lt;input type=hidden name=\"".strip_tags($k)."\" value=\"".strip_tags($d)."\"&gt;";
      }
  ?&gt;
  
  &lt;input type="submit" value="submit" name="mem_type" border="0"&gt;
  &lt;/form&gt;
  </code></pre>