eZ Community » Learn » eZ Publish » Create a feedback form in eZ Publish...

Create a feedback form in eZ Publish 5 using ezforms-bundle

Monday 12 May 2014 3:33:49 pm

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

The goal of this tutorial is to create a simple feedback form on a standard eZ Publish 5 website. Content editors will be able to edit introduction and confirmation messages from the administration interface. User feedback will be emailed to webmaster upon form submission.

 

Pre-requisites and target population

We will use Symfony's forms and validation capabilities to create the form. The Swiftmailer library - a usual tool in the Symfony world - will be used to send emails out. Last but not least, we'll configure heliopsis/ezforms-bundle to act as a bridge between eZ Publish contents and Symfony libraries according to our needs.

This tutorial requires no particular knowledge as you'll be walked through every step with code bits but it is best if you know the basics of eZ Publish's content model. I also recommend reading Forms and Validation chapters from the Symfony Book if you do not what it is supposed to do.

 

Estimated time

2 hours are required to follow this tutorial

 

Printable

Printer Friendly version of the full article on one page with plain styles

Author(s)

Proudly Developed with from