I have a form that contains forms. The form is link to the object "project" and it contains many forms linked to object "Assumptions". The relations between both is Project - Assumptions by 1..M
To create a project in my application I want to display the project formType
but I don't want the AssumptionType
form to be displayed yet.
What happens now is that when I done a form_end()
in my twig, it renders a blank form of Assumption and so my project form is never valid (I assume it is linked to the fact it don't hide assumption forms)
So how can I make to not display those forms and make my project form valid?