SproutCMS

This is the code documentation for the SproutCMS project

function addMultipleFieldError()

Add an error message from a multiple-field validation (e.g. checking at least one is set)

Usage

void $Validator->addMultipleFieldError ( array $fields , string $message );

Arguments

  1. array $fields
    The fields to add the error message for
  2. string $message
    The message text

Return value

  • void