With inline forms, you can only edit existing entities in your relationships if you want .
For instance:
If you have a Person object with multiple Address objects.
You need to implement the Person form and the address form.
Inside your face shape, you need to add a widget with a name after the attribute that stores the addresses, and mark this attribute beein the subform (in this case, the address form)
If you save this form and call the $ form-> bind () method, all values will be bound to related objects.
Implementation information read the article on embedded forms inside documents
http://symfony.com/doc/current/book/forms.html#embedded-forms
hope this helps;)
source share