28 calls to form_error()

date_validate in includes/form.inc
Validates the date type to prevent invalid dates (e.g., February 30, 2006).
element_validate_integer in includes/form.inc
Form element validation handler for integer elements.
element_validate_integer_positive in includes/form.inc
Form element validation handler for integer elements that must be positive.
element_validate_number in includes/form.inc
Form element validation handler for number elements.
field_default_form_errors in modules/field/field.form.inc
Transfer field-level validation errors to widgets.
field_test_field_widget_error in modules/field/tests/field_test.field.inc
Implements hook_field_widget_error().
file_managed_file_validate in modules/file/file.module
An #element_validate callback for the managed_file element.
form_test_limit_validation_errors_element_validate_test in modules/simpletest/tests/form_test.module
Form element validation handler for the 'test' element.
form_validate_machine_name in includes/form.inc
Form element validation handler for machine_name elements.
hook_field_widget_error in modules/field/field.api.php
Flag a field-level validation error.
image_effect_color_validate in modules/image/image.admin.inc
Element validate handler to ensure a hexadecimal color value.
image_effect_integer_validate in modules/image/image.admin.inc
Element validate handler to ensure an integer pixel value.
image_effect_scale_validate in modules/image/image.admin.inc
Element validate handler to ensure that either a height or a width is specified.
image_style_form_add_validate in modules/image/image.admin.inc
Validate handler for adding a new image effect to an image style.
install_configure_form_validate in includes/install.core.inc
Form validation handler for install_configure_form().
list_allowed_values_setting_validate in modules/field/modules/list/list.module
Element validate callback; check that the entered values are valid.
number_field_widget_error in modules/field/modules/number/number.module
Implements hook_field_widget_error().
number_field_widget_validate in modules/field/modules/number/number.module
FAPI validation of an individual number element.
options_field_widget_error in modules/field/modules/options/options.module
Implements hook_field_widget_error().
options_field_widget_validate in modules/field/modules/options/options.module
Form element validation handler for options element.
password_confirm_validate in includes/form.inc
Validates a password_confirm element.
path_form_element_validate in modules/path/path.module
Form element validation handler for URL alias form element.
taxonomy_field_widget_error in modules/taxonomy/taxonomy.module
Implements hook_field_widget_error().
text_field_widget_error in modules/field/modules/text/text.module
Implements hook_field_widget_error().
_file_generic_settings_extensions in modules/file/file.field.inc
Element validate callback for the allowed file extensions field.
_file_generic_settings_max_filesize in modules/file/file.field.inc
Element validate callback for the maximum upload size field.
_form_validate in includes/form.inc
Performs validation on form elements.
_image_field_resolution_validate in modules/image/image.field.inc
Element validate function for resolution fields.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.