We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f2d09c commit e0137f5Copy full SHA for e0137f5
forms.rst
@@ -703,6 +703,12 @@ the choice is ultimately up to you.
703
704
$form->get('agreeTerms')->setData(true);
705
706
+
707
+.. note::
708
+ A form name is generated from the type class name, if you want to set it
709
+ explicitly, use :method:`FormFactoryInterface::createNamed() <Symfony\\Component\\Form\\FormFactoryInterface>`.
710
+ You can even suppress the name completely by setting it to an empty string.
711
712
Final Thoughts
713
--------------
714
0 commit comments