Form Types ReferenceEdit this page
Warning: You are browsing the documentation for Symfony 2.1, which is no longer maintained.
Read the updated version of this page for Symfony 6.1 (the current stable version).
A form is composed of fields, each of which are built with the help of
a field type (e.g. a
choice type, etc). Symfony2 comes
standard with a large list of field types that can be used in your application.
The following field types are natively available in Symfony2: