You are browsing the Symfony 4.1 documentation, which changes significantly from Symfony 3.x. If your app doesn't use Symfony 4.1 yet, browse the Symfony 3.4 documentation.
Form Types Reference
Form Types Reference¶
A form is composed of fields, each of which are built with the help of
a field type (e.g.
ChoiceType, etc). Symfony comes
standard with a large list of field types that can be used in your application.
Supported Field Types¶
The following field types are natively available in Symfony:
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.