Form-wide error_bubbling in Symfony 2?

php, symfony

Solution

No. In general you dont need to make errors bubble to parent form. If you want to display all errors in one place, you can do this in the template.

Problem

This is how i currently activate errors on my forms: ``` public function buildForm(FormBuilder $builder, array $options) { $builder ->add('title', null, array('error_bubbling' => true)) ->add('content', null, array('error_bubbling' => true)) ; } ``` Is there a form-wide version?

Original source