title: Magento form post action to custom controller not working - wrong routing, but why?
body: <p>I have a form in my Magento store, the contact form. When I navigate to the form, it has this URL: <em>http://www.domain123.com/contact/</em>. There is a form and it looks like this:</p>
  
  <pre><code>&lt;form id="contactForm" method="post" action="contactform/index/sendcontactmail"&gt;
      ...
  &lt;/form&gt;
  </code></pre>
  
  <p>Now, when I click the send button, it gives me a 404 not found and I know why. The URL it posts to is <em>http://www.domain123.com/contact/contactform/index/sendcontactmail</em>, which is not right of course, it has to be <em>http://www.domain123.com/contactform/index/sendcontactmail</em> (without contact). The question is, how do I solve this issue? The contact form as the frontname <em>contact</em> and my modules name is <em>contactform</em>. How would I solve this?</p>
  
  <p>Thanks!</p>