From 934aad5302df35b456648156eafe7d75a67b203b Mon Sep 17 00:00:00 2001 From: WouterJ Date: Sat, 5 Mar 2016 11:34:12 +0100 Subject: [PATCH] [#6281] Reword other items a little bit --- book/forms.rst | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/book/forms.rst b/book/forms.rst index 29928f812c2..f0b4a2945eb 100644 --- a/book/forms.rst +++ b/book/forms.rst @@ -267,14 +267,8 @@ possible paths: recognizes this and immediately writes the submitted data back into the ``task`` and ``dueDate`` properties of the ``$task`` object. Then this object is validated. If it is invalid (validation is covered in the next section), - :method:`Symfony\\Component\\Form\\FormInterface::isValid` returns ``false`` - again, so the form is rendered together with all validation errors; - - .. note:: - - You can use the method :method:`Symfony\\Component\\Form\\FormInterface::isSubmitted` - to check whether a form was submitted, regardless of whether or not the - submitted data is actually valid. + :method:`Symfony\\Component\\Form\\FormInterface::isValid` returns + ``false``, so the form is rendered together with all validation errors; #. When the user submits the form with valid data, the submitted data is again written into the form, but this time :method:`Symfony\\Component\\Form\\FormInterface::isValid`