void HTML_QuickForm::setElementError (
string $element
, string $message
)
Set error message for a form element. Errors are usually assigned to elements by validate() method. Use this if you need to explicitly set error message for an element.
$element
Name of form element to set error for
$message
Error message
throws no exceptions thrown
since 1.0
This function can not be called statically.