From 78db893cafcb73a3d09cd8ec148afce886851e2e Mon Sep 17 00:00:00 2001 From: Mustafa Ehsan Alokozay Date: Wed, 17 Feb 2016 09:25:23 +0430 Subject: [PATCH] Change isValid to isSubmitted. --- book/forms.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/forms.rst b/book/forms.rst index 2fd9f16b387..ee8edcb1cfc 100644 --- a/book/forms.rst +++ b/book/forms.rst @@ -273,7 +273,7 @@ possible paths: #. When initially loading the page in a browser, the form is simply created and rendered. :method:`Symfony\\Component\\Form\\FormInterface::handleRequest` recognizes that the form was not submitted and does nothing. - :method:`Symfony\\Component\\Form\\FormInterface::isValid` returns ``false`` + :method:`Symfony\\Component\\Form\\FormInterface::isSubmitted` returns ``false`` if the form was not submitted. #. When the user submits the form, :method:`Symfony\\Component\\Form\\FormInterface::handleRequest`