4.6.x common.inc form_get_errors()
4.7.x form.inc form_get_errors()
5.x form.inc form_get_errors()
6.x form.inc form_get_errors()
7.x form.inc form_get_errors()

Return an associative array of all errors.

Related topics

16 calls to form_get_errors()
block_admin_configure_submit in modules/block/block.admin.inc
blogapi_blogger_edit_post in modules/blogapi/blogapi.module
Blogging API callback. Modifies the specified blog node.
blogapi_blogger_new_post in modules/blogapi/blogapi.module
Blogging API callback. Inserts a new blog post as a node.
comment_form in modules/comment/comment.module
Generate the basic commenting form, for appending to a node or display on a separate page.
comment_form_add_preview in modules/comment/comment.module
Form builder; Generate and validate a comment preview form.

... See full list

File

includes/form.inc, line 872

Code

function form_get_errors() {
  $form = form_set_error();
  if (!empty($form)) {
    return $form;
  }
}