The Form Example module is a part of the Examples for Developers Project and provides various Drupal Form API Examples. You can download and experiment with this code at the Examples for Developers project page.
| Name | Description |
|---|---|
| form_example_states_form | This form shows off the #states system by dynamically showing parts of the form based on the state of other parts. |
| form_example_tutorial_1 | This first form function is from the Form Tutorial handbook page |
| form_example_tutorial_10 | Example 10: A form with a file upload field. |
| form_example_tutorial_2 | This is Example 2, a basic form with a submit button. |
| form_example_tutorial_3 | Example 3: A basic form with fieldsets. |
| form_example_tutorial_4 | Example 4: Basic form with required fields. |
| form_example_tutorial_5 | Example 5: Basic form with additional element attributes. |
| form_example_tutorial_7 | Example 7: With a submit handler. |
| form_example_tutorial_8 | Example 8: A simple multistep form with a Next and a Back button. |
| form_example_tutorial_9 | Example 9: A form with a dynamically added new fields. |
examples/