Skip to content

Commit 934aad5

Browse files
committed
[symfony#6281] Reword other items a little bit
1 parent eac3d21 commit 934aad5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

book/forms.rst

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,8 @@ possible paths:
267267
recognizes this and immediately writes the submitted data back into the
268268
``task`` and ``dueDate`` properties of the ``$task`` object. Then this object
269269
is validated. If it is invalid (validation is covered in the next section),
270-
:method:`Symfony\\Component\\Form\\FormInterface::isValid` returns ``false``
271-
again, so the form is rendered together with all validation errors;
272-
273-
.. note::
274-
275-
You can use the method :method:`Symfony\\Component\\Form\\FormInterface::isSubmitted`
276-
to check whether a form was submitted, regardless of whether or not the
277-
submitted data is actually valid.
270+
:method:`Symfony\\Component\\Form\\FormInterface::isValid` returns
271+
``false``, so the form is rendered together with all validation errors;
278272

279273
#. When the user submits the form with valid data, the submitted data is again
280274
written into the form, but this time :method:`Symfony\\Component\\Form\\FormInterface::isValid`

0 commit comments

Comments
 (0)