Warning: You are browsing the documentation for Symfony 3.2, which is no longer maintained.
Read the updated version of this page for Symfony 5.3 (the current stable version).
How to Use the virtual Form Field Option
How to Use the virtual Form Field Option¶
As of Symfony 2.3, the
virtual option is renamed to
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.