You are here

function form_get_errors in Drupal 6

Same name and namespace in other branches
  1. 4 includes/form.inc \form_get_errors()
  2. 5 includes/form.inc \form_get_errors()
  3. 7 includes/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;
  }
}