Skip to content

Commit

Permalink
[#6281] Reword other items a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Mar 5, 2016
1 parent eac3d21 commit 934aad5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions book/forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 934aad5

Please sign in to comment.