diff --git a/validation.md b/validation.md index 54036fe365e..03a9fea0c33 100644 --- a/validation.md +++ b/validation.md @@ -490,7 +490,8 @@ Below is a list of all available validation rules and their function: [Date Format](#rule-date-format) [Different](#rule-different) [Digits](#rule-digits) -[Digits Between](#rule-digits-between) +[Digits Between](#rule-digits-between) +[Distinct](#rule-distinct) [E-Mail](#rule-email) [Exists (Database)](#rule-exists) [Filled](#rule-filled) @@ -605,7 +606,14 @@ The field under validation must be _numeric_ and must have an exact length of _v #### digits_between:_min_,_max_ -The field under validation must have a length between the given _min_ and _max_. +The field under validation must have a length between the given _min_ and _max_. + + +#### distinct + +When working with arrays, the field under validation must have unique values. + + 'foo.*.id' => 'distinct' #### email