form_get_errors
Definition
form_get_errors()
includes/common.inc, line 1017
Description
Return an associative array of all errors.
Related topics
| Name | Description |
|---|---|
| Form generation | Functions to enable output of HTML forms and form elements. |
| Input validation | Functions to validate user input. |
Code
<?php
function form_get_errors() {
if (array_key_exists('form', $GLOBALS)) {
return $GLOBALS['form'];
}
}
?> 