Skip to content

Commit 74da3cf

Browse files
issei-mwouterj
authored andcommitted
updated validation.rst
1 parent 25bf05c commit 74da3cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ The ``validator`` service can be used at any time to validate any object.
212212
In reality, however, you'll usually work with the ``validator`` indirectly
213213
when working with forms. Symfony's form library uses the ``validator`` service
214214
internally to validate the underlying object after values have been submitted.
215-
The constraint violations on the object are converted into ``FieldError``
215+
The constraint violations on the object are converted into ``FormError``
216216
objects that can easily be displayed with your form. The typical form submission
217217
workflow looks like the following from inside a controller::
218218

0 commit comments

Comments
 (0)