diff --git a/src/Form/MembershipApplicationType.php b/src/Form/MembershipApplicationType.php index cbc3aee..a094d2c 100644 --- a/src/Form/MembershipApplicationType.php +++ b/src/Form/MembershipApplicationType.php @@ -19,7 +19,7 @@ public function buildForm(FormBuilderInterface $builder, array $options) $builder->add('firstName', null, ['label' => 'Voornaam', 'error_bubbling' => true, 'constraints' => [new NotBlank()]]); if ($options['use_middle_name']) { - $builder->add('middleName', null, ['label' => 'Tussenvoegsel', 'error_bubbling' => true]); + $builder->add('middleName', null, ['label' => 'Tussenvoegsel', 'error_bubbling' => true, 'required' => false]); } $builder