Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

WARNING: You are browsing the documentation for Symfony 3.2 which is not maintained anymore. Consider upgrading your projects to Symfony 5.1.

How to Use the virtual Form Field Option

3.2 version
Unmaintained

How to Use the virtual Form Field Option

Caution

As of Symfony 2.3, the virtual option is renamed to inherit_data. You can read everything about the new option in “How to Reduce Code Duplication with “inherit_data””.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.