Merge pull request #798 from xsbeats/feature/validation_required_with
Added required_with validation rule...
This commit is contained in:
@@ -63,6 +63,9 @@ Now you are familiar with the basic usage of the Validator class. You're ready t
|
||||
|
||||
'name' => 'required'
|
||||
|
||||
#### Validate that an attribute is present, when another attribute is present:
|
||||
'last_name' => 'required_with:first_name'
|
||||
|
||||
<a name="rule-alpha"></a>
|
||||
### Alpha, Alpha Numeric, & Alpha Dash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user