function form_get_errors

7.x form.inc form_get_errors()
6.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 drupal-6.x/modules/block/block.admin.inc
blogapi_blogger_edit_post in drupal-6.x/modules/blogapi/blogapi.module
Blogging API callback. Modifies the specified blog node.
blogapi_blogger_new_post in drupal-6.x/modules/blogapi/blogapi.module
Blogging API callback. Inserts a new blog post as a node.
comment_form in drupal-6.x/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 drupal-6.x/modules/comment/comment.module
Form builder; Generate and validate a comment preview form.

... See full list

File

drupal-6.x/includes/form.inc, line 833

Code

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