Warning: You are browsing the documentation for Symfony 2.7, 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

2.7 version
Unmaintained

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.