Accepted
- The field under validation must be yes, on, 1, or true. This is useful for validating "Terms of Service" acceptance.Alpha
- Only allows alphabetic charactersRequiredUnless
with validation data as a struct literal { anotherField:value, ... }
- The field under validation must be present and not empty unless the anotherfield
field is equal to the passed value
.RequiredIf
with validation data as a struct literal { anotherField:value, ... }
- The field under validation must be present and not empty if the anotherfield
field is equal to the passed value
.Required
validatorevaluate()
instead use invoke()
Bugs
: Fixed lots of wrong type exceptionsCompat
: Remove ACF11 support