Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ Below is a list of all available validation rules and their function:
[Numeric](#rule-numeric)
[Password](#rule-password)
[Present](#rule-present)
[Prohibited If](#rule-prohibited-if)
[Prohibited Unless](#rule-prohibited-unless)
[Regular Expression](#rule-regex)
[Required](#rule-required)
[Required If](#rule-required-if)
Expand Down Expand Up @@ -1127,6 +1129,16 @@ 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.

<a name="rule-prohibited-if"></a>
#### prohibited_if:_anotherfield_,_value_,...

The field under validation must be empty or not present if the _anotherfield_ field is equal to any _value_.

<a name="rule-prohibited-unless"></a>
#### prohibited_unless:_anotherfield_,_value_,...

The field under validation must be empty or not present unless the _anotherfield_ field is equal to any _value_.

<a name="rule-regex"></a>
#### regex:_pattern_

Expand Down