WARNING: You are browsing the documentation for Symfony 3.2 which is not maintained anymore. Consider upgrading your projects to Symfony 5.0.

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. TextType, ChoiceType, etc). Symfony comes standard with a large list of field types that can be used in your application.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.

👋 A new Symfony online event is coming on Friday, March 27, 16:00 UTC — Sign up for free