diff --git a/validation.md b/validation.md index 2154256744b..d31f5d714da 100644 --- a/validation.md +++ b/validation.md @@ -879,6 +879,7 @@ Below is a list of all available validation rules and their function: [Between](#rule-between) [Boolean](#rule-boolean) [Confirmed](#rule-confirmed) +[Contains](#rule-contains) [Current Password](#rule-current-password) [Date](#rule-date) [Date Equals](#rule-date-equals) @@ -1097,6 +1098,11 @@ The field under validation must be able to be cast as a boolean. Accepted input The field under validation must have a matching field of `{field}_confirmation`. For example, if the field under validation is `password`, a matching `password_confirmation` field must be present in the input. + +#### contains:_foo_,_bar_,... + +The field under validation must be an array that contains all given parameter values. + #### current_password