Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d32296d

Browse filesBrowse files
committed
Merge pull request symfony#2762 from DanielleSuurlant/issue-2750
Rewrite validation groups explanation.
2 parents 6f8439b + bd82a55 commit d32296d
Copy full SHA for d32296d

File tree

Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed

‎book/validation.rst

Copy file name to clipboardExpand all lines: book/validation.rst
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -779,10 +779,9 @@ user registers and when a user updates his/her contact information later:
779779
780780
With this configuration, there are two validation groups:
781781

782-
* ``Default`` - contains the constraints not assigned to any other group;
783-
784-
* ``User`` - contains the constraints that belongs to group ``Default``
785-
(this group is useful for :ref:`book-validation-group-sequence`);
782+
* ``User`` - contains the constraints that belong to no other group,
783+
and is considered the ``Default`` group. (This group is useful for
784+
:ref:`book-validation-group-sequence`);
786785

787786
* ``registration`` - contains the constraints on the ``email`` and ``password``
788787
fields only.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.