function form_clear_error
form_clear_error()
Clears all errors against all form elements made by form_set_error().
Related topics
File
- includes/form.inc, line 1669
- Functions for form and batch generation and processing.
Code
function form_clear_error() { drupal_static_reset('form_set_error'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!form.inc/function/form_clear_error/7.x