function form_error

7.x form_error($element_name, $message)
6.x form_error($element_name, $message)
4.x form_error($element_name, $message)
5.x form_error($element_name, $message)

Register a form_error in the SESSION.

11 calls to form_error()
admin_add_degree_form_submit in modules/admin/
Submit handler for the add_degree_form.
admin_apply_draft_changes_form_submit in modules/admin/admin.module
Handles the actual moving of draft courses into production.
admin_copy_degree_form_submit in modules/admin/
admin_duplicate_year_form_submit in modules/admin/admin.module
This function should perform the actual copy of data!
admin_edit_course_form_submit in modules/admin/

... See full list


includes/, line 269


function form_error($element_name, $message) {

  $_SESSION ["fp_form_errors"][] = array("name" => $element_name, "msg" => $message);
  fp_add_message($message, "error");