5.x form_has_errors()
4.x form_has_errors()

Returns TRUE or FALSE if there have been errors for this form submission (We will just look in the SESSION to find out).

3 calls to form_has_errors()
admin_add_degree_form_submit in modules/admin/
Submit handler for the add_degree_form.
fp_render_form in includes/
Render the form array from the callback to the screen, and set the form to save itself in our default submit handler. Valid form_types are: "system_settings" => values automatically saved to variables table. "normal" or BLANK…
system_handle_form_submit in modules/system/system.module
Intercepts form submissions from forms built with the form API.


includes/, line 417


function form_has_errors() {
  if (@count($_SESSION["fp_form_errors"]) > 0) {
    return TRUE;

  return FALSE;