File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -717,6 +717,8 @@ 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 If] ( #rule-prohibited-if )
721+ [ Prohibited Unless] ( #rule-prohibited-unless )
720722[ Regular Expression] ( #rule-regex )
721723[ Required] ( #rule-required )
722724[ Required If] ( #rule-required-if )
@@ -1127,6 +1129,16 @@ The field under validation must match the authenticated user's password. You may
11271129
11281130The field under validation must be present in the input data but can be empty.
11291131
1132+ <a name =" rule-prohibited-if " ></a >
1133+ #### prohibited_if:_ anotherfield_ ,_ value_ ,...
1134+
1135+ The field under validation must be empty or not present if the _ anotherfield_ field is equal to any _ value_ .
1136+
1137+ <a name =" rule-prohibited-unless " ></a >
1138+ #### prohibited_unless:_ anotherfield_ ,_ value_ ,...
1139+
1140+ The field under validation must be empty or not present unless the _ anotherfield_ field is equal to any _ value_ .
1141+
11301142<a name =" rule-regex " ></a >
11311143#### regex:_ pattern_
11321144
You can’t perform that action at this time.
0 commit comments