Creating Reusable Forms in Symfony 2

In this video, we'll build upon our existing knowledge of Symfony 2 to learn how to create reusable forms. We'll learn how to create a separate form class to house our form logic, build the form in a controller and then render it to the browser, from a template.

In Conclusion

Now there's lots of other options that you can pass in while creating your forms, to customize them to your liking. We'll see more of these in action as we proceed through the series. 

In the next video, we'll learn how to validate our data and process the form submission in order to prepare the data to be persisted to a database. Stay tuned for the next one! 

Thanks for watching.

Tags:

Comments

Related Articles