From ccd094ebb444a5a26973338cd1cd0bf4e03da22f Mon Sep 17 00:00:00 2001 From: Philo Hermans Date: Fri, 19 Mar 2021 15:35:16 +0100 Subject: [PATCH] Add docs for prohibited rule --- validation.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/validation.md b/validation.md index 6929b957ffb..b4106d1971d 100644 --- a/validation.md +++ b/validation.md @@ -717,6 +717,7 @@ Below is a list of all available validation rules and their function: [Numeric](#rule-numeric) [Password](#rule-password) [Present](#rule-present) +[Prohibited](#rule-prohibited) [Prohibited If](#rule-prohibited-if) [Prohibited Unless](#rule-prohibited-unless) [Regular Expression](#rule-regex) @@ -1129,6 +1130,11 @@ The field under validation must match the authenticated user's password. You may The field under validation must be present in the input data but can be empty. + +#### prohibited + +The field under validation must be empty or not present. + #### prohibited_if:_anotherfield_,_value_,...