form_error

Related topics

Namesort iconDescription
Form generationFunctions to enable the processing and display of HTML forms.

Functions that call form_error()

Namesort iconLocationDescription
date_validatedrupal/includes/form.incValidates the date type to stop dates like February 30, 2006.
date_validatedrupal/includes/form.incValidates the date type to stop dates like February 30, 2006.
example_element_validatecontributions/docs/developer/examples/example_element.moduleOur element's validation function.
example_element_validatecontributions/docs/developer/examples/example_element.moduleOur element's validation function.
form_errordrupal/includes/form.incFlag an element as having an error.
password_confirm_validatedrupal/includes/form.incValidate password_confirm element.
password_confirm_validatedrupal/includes/form.incValidate password_confirm element.
_form_validatedrupal/includes/form.incPerforms validation on form elements. First ensures required fields are completed, #maxlength is not exceeded, and selected options were in the list of options given to the user. Then calls user-defined validators.
_form_validatedrupal/includes/form.incPerforms validation on form elements. First ensures required fields are completed, #maxlength is not exceeded, and selected options were in the list of options given to the user. Then calls user-defined validators.

Functions called by form_error()

Namesort iconLocationDescription
form_errordrupal/includes/form.incFlag an element as having an error.
form_set_errordrupal/includes/form.incFile an error against a form element. If the name of the element is edit[foo][bar] then you may pass either foo or foo][bar as $name foo will set an error for all its children.
form_set_errordrupal/includes/form.incFile an error against a form element. If the name of the element is edit[foo][bar] then you may pass either foo or foo][bar as $name foo will set an error for all its children.