form_set_error

Related topics

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

Functions that call form_set_error()

Namesort iconLocationDescription
aggregator_form_category_validatemodules/aggregator/aggregator.moduleValidate aggregator_form_feed form submissions.
aggregator_form_feed_validatemodules/aggregator/aggregator.moduleValidate aggregator_form_feed form submissions.
comment_admin_overview_validatemodules/comment/comment.moduleWe can't execute any 'Update options' if no comments were selected.
contact_admin_edit_validatemodules/contact/contact.moduleValidate the contact category edit page form submission.
contact_mail_page_validatemodules/contact/contact.moduleValidate the site-wide contact page form submission.
do_searchmodules/search/search.moduleDo a query on the full-text search index for a word or words.
drupal_validate_formincludes/form.incValidates user-submitted form data from a global variable using the validate functions defined in a structured form array.
fileupload_validatedeveloper/examples/fileupload.moduleImplementation of hook_validate().
file_check_directoryincludes/file.incCheck that the directory exists and is writable. Directories need to have execute permissions to be considered a directory by FTP servers, etc.
filter_admin_format_form_validatemodules/filter/filter.moduleValidate filter format form submissions.
form_errorincludes/form.incFlag an element as having an error.
form_get_errorincludes/form.incReturn the error message filed against the form with the specified name.
form_get_errorsincludes/form.incReturn an associative array of all errors.
form_set_errorincludes/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.
forum_validatemodules/forum/forum.moduleImplementation of hook_validate().
hook_preparedeveloper/hooks/node.phpThis is a hook used by node modules. It is called after load but before the node is shown on the add/edit form.
hook_validatedeveloper/hooks/node.phpVerify a node editing form.
image_gd_settingsincludes/image.incRetrieve settings for the GD2 toolkit.
locale_add_language_form_validateincludes/locale.incValidate the language addition form.
multipage_form_example_custom_validatedeveloper/examples/multipage_form_example.moduleValidate our form.
nodeapi_example_nodeapideveloper/examples/nodeapi_example.moduleImplementation of hook_nodeapi().
node_example_validatedeveloper/examples/node_example.moduleImplementation of hook_validate().
node_type_form_validatemodules/node/content_types.incImplementation of hook_form_validate().
node_validatemodules/node/node.modulePerform validation checks on the given node.
path_form_validatemodules/path/path.moduleVerify that a new URL alias is valid
path_nodeapimodules/path/path.moduleImplementation of hook_nodeapi().
poll_validatemodules/poll/poll.moduleImplementation of hook_validate().
profile_field_form_validatemodules/profile/profile.moduleValidate profile_field_form submissions.
search_form_submitmodules/search/search.moduleProcess a search form submission.
system_theme_settingsmodules/system/system.moduleMenu callback; display theme configuration for entire site and individual themes.
taxonomy_node_validatemodules/taxonomy/taxonomy.moduleMake sure incoming vids are free tagging enabled.
upload_admin_settings_validatemodules/upload/upload.moduleForm API callback to validate the upload settings form.
user_admin_access_addmodules/user/user.moduleMenu callback: add an access rule
user_admin_access_editmodules/user/user.moduleMenu callback: edit an access rule
_install_settings_form_validateinstall.phpHelper function for install_settings_validate.

Functions called by form_set_error()

Namesort iconLocationDescription
drupal_set_messageincludes/bootstrap.incSet a message which reflects the status of the performed operation.
form_set_errorincludes/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.
 
 

Drupal is a registered trademark of Dries Buytaert.