Search for form

  1. Search 9.5.x for form
  2. Search 8.9.x for form
  3. Search 10.3.x for form
  4. Search 11.x for form
  5. Other projects
Title Object type File name Summary
FormsTriggeringElementTestCase class modules/simpletest/tests/form.test Test that FAPI correctly determines $form_state['triggering_element'].
FormsTriggeringElementTestCase::getInfo function modules/simpletest/tests/form.test
FormsTriggeringElementTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsTriggeringElementTestCase::testAttemptAccessControlBypass function modules/simpletest/tests/form.test Test that $form_state['triggering_element'] does not get set to a button
with #access=FALSE.
FormsTriggeringElementTestCase::testNoButtonInfoInPost function modules/simpletest/tests/form.test Test the determination of $form_state['triggering_element'] when no button
information is included in the POST data, as is sometimes the case when
the ENTER key is pressed in a textfield in Internet Explorer.
FormTextareaTestCase class modules/simpletest/tests/form.test Tests for form textarea.
FormTextareaTestCase::getInfo function modules/simpletest/tests/form.test
FormTextareaTestCase::testValueCallback function modules/simpletest/tests/form.test Tests that textarea value is properly set.
FormValidationTestCase class modules/simpletest/tests/form.test Test form validation handlers.
FormValidationTestCase::getInfo function modules/simpletest/tests/form.test
FormValidationTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormValidationTestCase::testDisabledToken function modules/simpletest/tests/form.test Tests that a form with a disabled CSRF token can be validated.
FormValidationTestCase::testMultiFormSameNameErrorClass function modules/simpletest/tests/form.test Tests error border of multiple fields with same name in a page.
FormValidationTestCase::testValidate function modules/simpletest/tests/form.test Tests form alterations by #element_validate, #validate, and form_set_value().
FormValidationTestCase::testValidateLimitErrors function modules/simpletest/tests/form.test Tests partial form validation through #limit_validation_errors.
form_builder function includes/form.inc Builds and processes all elements in the structured form array.
form_clear_error function includes/form.inc Clears all errors against all form elements made by form_set_error().
form_error function includes/form.inc Flags an element as having an error.
form_execute_handlers function includes/form.inc Executes custom validation and submission handlers for a given form.
form_get_cache function includes/form.inc Fetches a form from cache.
form_get_error function includes/form.inc Returns the error message filed against the given form element.
form_get_errors function includes/form.inc Returns an associative array of all errors if any.
form_get_options function includes/form.inc Returns the indexes of a select element's options matching a given key.
form_label_test_form function modules/simpletest/tests/form_test.module A form for testing form labels and required marks.
form_load_include function includes/form.inc Ensures an include file is loaded whenever the form is processed.
form_options_flatten function includes/form.inc Allows PHP array processing of multiple select options with the same value.
form_pre_render_conditional_form_element function includes/form.inc Adds form element theming to an element if its title or description is set.
form_pre_render_fieldset function includes/form.inc Adds members of this group as actual elements for rendering.
form_process_actions function includes/form.inc Processes a form actions container element.
form_process_autocomplete function includes/form.inc Process function to prepare autocomplete data.
form_process_button function includes/form.inc Processes a form button element.
form_process_checkbox function includes/form.inc Sets the #checked property of a checkbox element.
form_process_checkboxes function includes/form.inc Processes a checkboxes form element.
form_process_container function includes/form.inc Processes a container element.
form_process_date function includes/form.inc Expands a date element into year, month, and day select elements.
form_process_fieldset function includes/form.inc Arranges fieldsets into groups.
form_process_machine_name function includes/form.inc Processes a machine-readable name form element.
form_process_password_confirm function includes/form.inc Expand a password_confirm field into two text boxes.
form_process_radios function includes/form.inc Expands a radios element into individual radio elements.
form_process_select function includes/form.inc Processes a select list form element.
form_process_tableselect function includes/form.inc Creates checkbox or radio elements to populate a tableselect table.
form_process_vertical_tabs function includes/form.inc Creates a group formatted as vertical tabs.
form_process_weight function includes/form.inc Expands a weight element into a select element.
form_select_options function includes/form.inc Converts an array of options into HTML, for use in select list form elements.
form_set_cache function includes/form.inc Stores a form in the cache.
form_set_error function includes/form.inc Files an error against a form element.
form_set_value function includes/form.inc Changes submitted form values during form validation.
form_state_defaults function includes/form.inc Retrieves default values for the $form_state array.
form_state_keys_no_cache function includes/form.inc Returns an array of $form_state keys that shouldn't be cached.
form_state_values_clean function includes/form.inc Removes internal Form API elements and buttons from submitted form values.

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