This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我有一个要添加字段的表单构建器对象。如何在 2 个现有字段之间添加一个字段:
$formBuilder->add('name',...)
->add('phone',...);
//Somehow here add an 'email' field between the 'name' and 'phone' field
$form = $formBuilder->getForm();