WARNING:
You are browsing the documentation for Symfony 2.4 which is not maintained anymore.
Consider upgrading your projects to Symfony 5.2.
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 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.