title: Web form submission directing my browser to the wrong page
body: <p>I have a web form that sends the input to a SugarCRM database.  In order to have the form work properly on DotNetNuke, I have had to remove  tags and use javascript for the submit button.</p>
  
  <p>The submit button looks like this: </p>
  
  <pre><code>&lt;input title="Send Form" onclick="this.form.method='POST'; this.form.action='http://mplexuscrm.com/sugarcrm/index.php?entryPoint=WebToLeadCapture';submit_form();" type="Submit" /&gt;
  </code></pre>
  
  <p>When clicking the submit button, the form input is correctly entered into the database; however, the browser is redirected towards the admin panel of SugarCRM rather than back to the page I defined like so: </p>
  
  <pre><code>&lt;input id="redirect_url" type="hidden" name="redirect_url" value="http://mplexus.com/DICOMExtender/FreeTrialDICOMeXtender.aspx"&gt;
  </code></pre>
  
  <p>Any help is very much appreciated! Thank you :)</p>