1.20.x form.inc | form_clear_error() |
Clears all errors against all form elements made by form_set_error().
Related topics
File
- includes/
form.inc, line 1702 - Functions for form and batch generation and processing.
Code
function form_clear_error() {
backdrop_static_reset('form_set_error');
}