File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ Below is a list of all available validation rules and their function:
154
154
- [ Required] ( #rule-required )
155
155
- [ Required If] ( #rule-required-if )
156
156
- [ Required With] ( #rule-required-with )
157
+ - [ Required Without] ( #rule-required-without )
157
158
- [ Same] ( #rule-same )
158
159
- [ Size] ( #rule-size )
159
160
- [ Unique (Database)] ( #rule-unique )
@@ -312,6 +313,11 @@ The field under validation must be present if the _field_ field is equal to _val
312
313
313
314
The field under validation must be present _ only if_ the other specified fields are present.
314
315
316
+ <a name =" rule-required-without " ></a >
317
+ #### required_without:_ foo_ ,_ bar_ ,...
318
+
319
+ The field under validation must be present _ only when_ the other specified fields are not present.
320
+
315
321
<a name =" rule-same " ></a >
316
322
#### same:_ field_
317
323
You can’t perform that action at this time.
0 commit comments