Form Types Reference
Warning: You are browsing the documentation for Symfony 4.x, which is no longer maintained.
Read the updated version of this page for Symfony 7.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. TextType
, 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:
Other Fields
- CheckboxType
- FileType
- DropzoneType
- RadioType
- CropperType (to crop images with JavaScript)
Symfony UX Fields
These types are part of the Symfony UX initiative:
- CropperType (using Cropper.js)
- DropzoneType
This work, including the code samples, is licensed under a
Creative Commons BY-SA 3.0
license.