prohibitedIf.php
Table of Contents
Functions
- prohibitedIf() : string
- Generates the 'prohibited_if:anotherField' rule expression.
Functions
prohibitedIf()
Generates the 'prohibited_if:anotherField' rule expression.
prohibitedIf(string $anotherField, mixed ...$values) : string
The field under this rule is not allowed if another_field is provided with any of the value(s).
Parameters
- $anotherField : string
-
The another field to evaluates.
- $values : mixed