formvalidator supports the ability to perform field-level validation in addition to form-level validation. To validate one or some fields, an array of field names can be supplied in the validation context. While straightforward, this code is verbose. For that reason, Strickland's
formvalidator provides a
validateFieldshelper is available from the validator created using the
validateFieldscan accept existing validation results to be updated during field-level validation.