I tried to find something and googled myself but I couldn´t find anything that fits my needs.

I want to include a custom form with a number of different inputs on a Magento CMS page sending all to an email or to the Magento backend.

So that a user has like 10 different questions to answer and then on the submit button it all sends it to a given email address.

  • There are lots of tutorials on creating custom forms in Magento. Here is one inchoo.net/magento/magento-email/… – Tim Hallman May 18 '15 at 14:47
  • 1
    A good alternative is also Google Forms (if you don't want to put your hands in the code) – Mayers May 18 '15 at 14:48
  • You cannot add a form to a CMS page. You can either create a module, add a controller file with an action to render the form and an action to retrieve the data input from the form and save it to your model, and access it via yoursite.com/yourmodule/yourcontroller/form or you can install an extension that does that for you. I've used Webforms extension by mage me: mageme.com it is really great. It sends emails, you can configure to display fields depending on a certain logic, and the guy behind it offers great support. I really recomend it. – Vic May 18 '15 at 15:45
  • 1
    @Vic you can insert blocks into CMS pages, so technically, yes you can add a form to a CMS page. – Mayers May 18 '15 at 15:53
  • 2
    You can even put a form directly into the CMS page itself. The main complexity, I would say, is the backend - which could either be custom, or could be a hosted forms solution. – Agop May 18 '15 at 15:54

I used Google Forms as the person taking over the details is in Marketing and therefore it was the easiest this way. Thanks for all the comments.

I will have a closer look in the Inchoo Tutorial :-)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.