Skip to content

Commit 7d8edd2

Browse files
authored
Add docs for prohibited rule (#6931)
1 parent f817279 commit 7d8edd2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

validation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,7 @@ Below is a list of all available validation rules and their function:
717717
[Numeric](#rule-numeric)
718718
[Password](#rule-password)
719719
[Present](#rule-present)
720+
[Prohibited](#rule-prohibited)
720721
[Prohibited If](#rule-prohibited-if)
721722
[Prohibited Unless](#rule-prohibited-unless)
722723
[Regular Expression](#rule-regex)
@@ -1133,6 +1134,11 @@ The field under validation must match the authenticated user's password. You may
11331134

11341135
The field under validation must be present in the input data but can be empty.
11351136

1137+
<a name="rule-prohibited"></a>
1138+
#### prohibited
1139+
1140+
The field under validation must be empty or not present.
1141+
11361142
<a name="rule-prohibited-if"></a>
11371143
#### prohibited_if:_anotherfield_,_value_,...
11381144

0 commit comments

Comments
 (0)