How are you creating your FormBuilders
?
If you're using the FormFactory
, you can use the createNamed()
or createNamedBuilder()
methods on the factory to set a name.
Alternatively, you can call $mainForm->create($name)
to create a named form (note that all that does is call $mainForm
's Factory and does not automatically add it to $mainForm
.