31 calls to form_error()

admin_add_degree_form_validate in modules/admin/admin.degrees.inc
Validate handler for add_degree_form
admin_apply_draft_changes_form_validate in modules/admin/admin.module
Before we apply changes, make sure the password is correct.
admin_copy_degree_form_validate in modules/admin/admin.degrees.inc
Validate handler. Make sure our allow_overwrite setting is working. Check for existing major code.
admin_duplicate_year_form_validate in modules/admin/admin.module
Before we duplicate the year, make sure the password is correct.
admin_edit_course_form_submit in modules/admin/admin.courses.inc
admin_edit_degree_form_validate in modules/admin/admin.degrees.inc
admin_edit_group_form_submit in modules/admin/admin.groups.inc
admin_edit_group_form_validate in modules/admin/admin.groups.inc
Validate handler for edit group form.
advise_what_if_selection_form_validate in modules/advise/advise.module
Validate handler for the what_if selection form. This is where we might, for example, make sure that if a non-dynamic degree was selected, that they can't proceed.
audit_settings_form_validate in modules/audit/audit.module
calendar_appointment_content_form_validate in modules/calendar/calendar.module
Custom validate handler for when we save an appointment form. We want to confirm the student is valid, and also store ONLY the cwid.
calendar_schedule_appointment_confirm_form_validate in modules/calendar/calendar.module
This is our last chance to validate the form before saving.
content_edit_content_form_validate in modules/content/content.module
content_public_files_form_validate in modules/content/content.module
encryption_settings_form_validate in modules/encryption/encryption.module
engagements_mass_sms_form_validate in modules/engagements/engagements.module
engagements_send_email_or_txt_form_validate in modules/engagements/engagements.module
form_basic_validate in includes/render.inc
This is a very basic validator for form API submission. All I really care about is making sure required fields have a value in them. If they do not, we will file a form_error.
hook_validate in includes/hook.api.php
Validates form submissions from the Form API
prereqs_edit_course_form_validate in modules/prereqs/prereqs.module
validate for the edit course form, from admin.courses.inc.
schools_administer_schools_form_submit in modules/schools/schools.module
student_files_settings_form_validate in modules/student_files/student_files.module
We mainly want to make sure nothing got entered in an incorrect format here.
student_files_upload_any_student_files_form_validate in modules/student_files/student_files.module
Validate function.
system_login_form_validate in modules/system/system.module
Validate function for the login form. This is where we will do all of the lookups to verify username and password. If you want to write your own login handler (like for LDAP) this is the function you would duplicate in a custom module, then use…
system_mfa_login_form_validate in modules/system/system.module
user_edit_student_user_form_validate in modules/user/user.student.inc
Validate handler for editing student users.
user_edit_user_advisees_form_validate in modules/user/user.module
Check to see if we entered a CWID which doesn't exist in students table.
user_edit_user_form_validate in modules/user/user.module
Validate handler for editing faculty users.
user_student_edit_student_courses_form_validate in modules/user/user.student.inc
user_user_settings_form_validate in modules/user/user.module
Needed if we are trying to change password.
z__schools_admin_copy_degree_form_validate in modules/schools/schools.module