Skip to content

Commit bbb97e4

Browse files
committed
minor #10456 Added 'Default' validation group (ThomasLandauer)
This PR was merged into the 2.8 branch. Discussion ---------- Added 'Default' validation group Commits ------- 466d67f Added 'Default' validation group
2 parents 17647fe + 466d67f commit bbb97e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

form/validation_groups.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ method::
3232
}
3333

3434
In both of these cases, *only* the ``registration`` validation group will
35-
be used to validate the underlying object.
35+
be used to validate the underlying object. To apply the ``registration``
36+
group *and* all constraints that are not in a group, use::
37+
38+
'validation_groups' => array('Default', 'registration')

0 commit comments

Comments
 (0)