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
FormsFormStorageTestCase::testCachedFormStorageValidation function modules/simpletest/tests/form.test Tests updating cached form storage during form validation.
FormsFormStorageTestCase::testForm function modules/simpletest/tests/form.test Tests using the form in a usual way.
FormsFormStorageTestCase::testFormCached function modules/simpletest/tests/form.test Tests using the form with an activated $form_state['cache'] property.
FormsFormStorageTestCase::testFormStatePersist function modules/simpletest/tests/form.test Tests a form using form state without using 'storage' to pass data from the
constructor to a submit handler. The data has to persist even when caching
gets activated, what may happen when a modules alter the form and adds
#ajax properties.
FormsFormStorageTestCase::testImmutableForm function modules/simpletest/tests/form.test Verifies that form build-id is regenerated when loading an immutable form
from the cache.
FormsFormStorageTestCase::testImmutableFormLegacyProtection function modules/simpletest/tests/form.test Verify that existing contrib code cannot overwrite immutable form state.
FormsFormStorageTestCase::testMutableForm function modules/simpletest/tests/form.test Verify that the form build-id remains the same when validation errors
occur on a mutable form.
FormsFormStorageTestCase::testValidation function modules/simpletest/tests/form.test Tests validation when form storage is used.
FormsFormWrapperTestCase class modules/simpletest/tests/form.test Test wrapper form callbacks.
FormsFormWrapperTestCase::getInfo function modules/simpletest/tests/form.test
FormsFormWrapperTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsFormWrapperTestCase::testWrapperCallback function modules/simpletest/tests/form.test Tests using the form in a usual way.
FormsProgrammaticTestCase class modules/simpletest/tests/form.test Test the programmatic form submission behavior.
FormsProgrammaticTestCase::getInfo function modules/simpletest/tests/form.test
FormsProgrammaticTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsProgrammaticTestCase::submitForm function modules/simpletest/tests/form.test Helper function used to programmatically submit the form defined in
form_test.module with the given values.
FormsProgrammaticTestCase::testSubmissionWorkflow function modules/simpletest/tests/form.test Test the programmatic form submission workflow.
FormsRebuildTestCase class modules/simpletest/tests/form.test Tests form rebuilding.
FormsRebuildTestCase::$web_user property modules/simpletest/tests/form.test
FormsRebuildTestCase::getInfo function modules/simpletest/tests/form.test
FormsRebuildTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsRebuildTestCase::testPreserveFormActionAfterAJAX function modules/simpletest/tests/form.test Tests that a form's action is retained after an Ajax submission.
FormsRebuildTestCase::testRebuildPreservesValues function modules/simpletest/tests/form.test Tests preservation of values.
FormsRedirectTestCase class modules/simpletest/tests/form.test Tests form redirection.
FormsRedirectTestCase::getInfo function modules/simpletest/tests/form.test
FormsRedirectTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsRedirectTestCase::testRedirect function modules/simpletest/tests/form.test Tests form redirection.
FormStateValuesCleanAdvancedTestCase class modules/simpletest/tests/form.test Tests $form_state clearance with form elements having buttons.
FormStateValuesCleanAdvancedTestCase::$image property modules/simpletest/tests/form.test An image file path for uploading.
FormStateValuesCleanAdvancedTestCase::getInfo function modules/simpletest/tests/form.test
FormStateValuesCleanAdvancedTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormStateValuesCleanAdvancedTestCase::testFormStateValuesCleanAdvanced function modules/simpletest/tests/form.test Tests form_state_values_clean().
FormStateValuesCleanTestCase class modules/simpletest/tests/form.test Test $form_state clearance.
FormStateValuesCleanTestCase::getInfo function modules/simpletest/tests/form.test
FormStateValuesCleanTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormStateValuesCleanTestCase::testFormStateValuesClean function modules/simpletest/tests/form.test Tests form_state_values_clean().
FormsTestCase class modules/simpletest/tests/form.test @file
Unit tests for the Drupal Form API.
FormsTestCase::assertFormValuesDefault function modules/simpletest/tests/form.test Assert that the values submitted to a form matches the default values of the elements.
FormsTestCase::checkFormValue function modules/simpletest/tests/form.test Checks that a given form input value is sanitized to the expected result.
FormsTestCase::getInfo function modules/simpletest/tests/form.test
FormsTestCase::setUp function modules/simpletest/tests/form.test Sets up a Drupal site for running functional and integration tests.
FormsTestCase::testCheckboxProcessing function modules/simpletest/tests/form.test Test default value handling for checkboxes.
FormsTestCase::testDisabledElements function modules/simpletest/tests/form.test Test handling of disabled elements.
FormsTestCase::testDisabledMarkup function modules/simpletest/tests/form.test Verify markup for disabled form elements.
FormsTestCase::testInputForgery function modules/simpletest/tests/form.test Test Form API protections against input forgery.
FormsTestCase::testRequiredCheckboxesRadio function modules/simpletest/tests/form.test Tests validation for required checkbox, select, and radio elements.
FormsTestCase::testRequiredFields function modules/simpletest/tests/form.test Check several empty values for required forms elements.
FormsTestCase::testRequiredTextfieldNoTitle function modules/simpletest/tests/form.test Tests validation for required textfield element without title.
FormsTestCase::testSelect function modules/simpletest/tests/form.test Tests validation of #type 'select' elements.
FormsTestCase::testTextfieldStringValue function modules/simpletest/tests/form.test Tests that submitted values are converted to scalar strings for textfields.

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