Skip to content

Commit d32296d

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

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

book/validation.rst

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy