UnstructuredType

This form field type is used to handle unstructured data.

Prior to Symfony Forms 3.4.21, it was possible to submit unstructured data to any form field type. This was considered a security hole and therefore patched, leaving a lot of people with no easy alternative to handle unstructured data in their forms. This form field type has been created to support unstructured data again.

Overridden options:

Parent type:

Basic Usage

$builder->add('data', UnstructuredType::class);

Overridden Options

compound

type: boolean value: false

This option is managed internally and can not be changed.

multiple

type: boolean value: true

This option is managed internally and can not be changed.