1 form.inc form_clear_error()

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

Related topics

File

core/includes/form.inc, line 1699
Functions for form and batch generation and processing.

Code

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