Skip navigation
Help

form_clear_error

7 form.inc form_clear_error()

Clear all errors against all form elements made by form_set_error().

Related topics

3 calls to form_clear_error()

File

drupal/includes/form.inc, line 1562

Code

function form_clear_error() {
  drupal_static_reset('form_set_error');
}