form_get_errors

Related topics

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

Functions that call form_get_errors()

Namesort iconLocationDescription
blogapi_blogger_edit_postmodules/blogapi/blogapi.moduleBlogging API callback. Modifies the specified blog node.
blogapi_blogger_new_postmodules/blogapi/blogapi.moduleBlogging API callback. Inserts a new blog post as a node.
comment_savemodules/comment/comment.moduleAccepts a submission of new or changed comment content.
drupal_get_formincludes/form.incRetrieves a form from a builder function, passes it on for processing, and renders the form or redirects to its destination as appropriate. In multi-step form scenarios, it handles properly processing the values using the previous step's form...
drupal_process_formincludes/form.incThis function is the heart of form API. The form gets built, validated and in appropriate cases, submitted.
form_get_errorsincludes/form.incReturn an associative array of all errors.
install_verify_settingsinstall.phpVerify existing settings.php
multipage_form_example_pre_renderdeveloper/examples/multipage_form_example.moduleThe #pre_render of a form allows us to make changes AFTER validation (unlike hook_form_alter()), but BEFORE the form has actually been displayed. We use it to control which form elements are shown, which are hidden, and which values to set based on...
node_previewmodules/node/node.moduleGenerate a node preview.
system_settings_formmodules/system/system.moduleAdd default buttons to a form and set its prefix

Functions called by form_get_errors()

Namesort iconLocationDescription
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.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.