SproutCMS

This is the code documentation for the SproutCMS project

function addFieldError()

Add an error message for a given field to the field errors list

Usage

void $Validator->addFieldError ( string $field_name , string $message );

Arguments

  1. string $field_name
    The field to add the error message for
  2. string $message
    The message text

Return value

  • void