Functions - 7.x-1.x - examples

Primary tabs

Title Deprecated File name Summary Direct uses Strings
form_example_phonenumber_combined_value form_example/form_example_elements.inc Value callback for form_example_phonenumber_combined. 1
form_example_phonenumber_discrete_process form_example/form_example_elements.inc Process callback for the discrete version of phonenumber. 1
form_example_phonenumber_discrete_validate form_example/form_example_elements.inc Validation handler for the discrete version of the phone number. 1
form_example_states_form form_example/form_example_states.inc States demo form. 1
form_example_states_form_submit form_example/form_example_states.inc Submit handler for form_example_states_form().
form_example_theme form_example/form_example.module Implements hook_theme().
form_example_tutorial form_example/form_example_tutorial.inc Main Form tutorial page.
form_example_tutorial_1 form_example/form_example_tutorial.inc Tutorial Example 1. 1
form_example_tutorial_10 form_example/form_example_tutorial.inc Example 10: A form with a file upload field. 1
form_example_tutorial_10_submit form_example/form_example_tutorial.inc Submit handler for form_example_tutorial_10().
form_example_tutorial_10_validate form_example/form_example_tutorial.inc Validate handler for form_example_tutorial_10().
form_example_tutorial_11 form_example/form_example_tutorial.inc Example 11: adding a confirmation form. 1
form_example_tutorial_11_confirm_name form_example/form_example_tutorial.inc Example 11: A form generated with confirm_form(). 1
form_example_tutorial_11_confirm_name_submit form_example/form_example_tutorial.inc Submit function for form_example_tutorial_11_confirm_form().
form_example_tutorial_11_submit form_example/form_example_tutorial.inc Submit function for form_example_tutorial_11().
form_example_tutorial_2 form_example/form_example_tutorial.inc This is Example 2, a basic form with a submit button. 1
form_example_tutorial_3 form_example/form_example_tutorial.inc Example 3: A basic form with fieldsets. 1
form_example_tutorial_4 form_example/form_example_tutorial.inc Example 4: Basic form with required fields. 1
form_example_tutorial_5 form_example/form_example_tutorial.inc Example 5: Basic form with additional element attributes. 1
form_example_tutorial_6 form_example/form_example_tutorial.inc Example 6: A basic form with a validate handler. 1
form_example_tutorial_6_validate form_example/form_example_tutorial.inc Validation handler for Tutorial 6.
form_example_tutorial_7 form_example/form_example_tutorial.inc Example 7: With a submit handler. 1
form_example_tutorial_7_submit form_example/form_example_tutorial.inc Submit function for form_example_tutorial_7().
form_example_tutorial_7_validate form_example/form_example_tutorial.inc Validation function for form_example_tutorial_7().
form_example_tutorial_8 form_example/form_example_tutorial.inc Example 8: A simple multistep form with a Next and a Back button. 1
form_example_tutorial_8_next_submit form_example/form_example_tutorial.inc Submit handler for form_example_tutorial_8() next button. 1
form_example_tutorial_8_next_validate form_example/form_example_tutorial.inc Validate handler for the next button on first page. 1
form_example_tutorial_8_page_two form_example/form_example_tutorial.inc Returns the form for the second page of form_example_tutorial_8(). 1
form_example_tutorial_8_page_two_back form_example/form_example_tutorial.inc Back button handler submit handler. 1
form_example_tutorial_8_page_two_submit form_example/form_example_tutorial.inc The page 2 submit handler. 1
form_example_tutorial_9 form_example/form_example_tutorial.inc Example 9: A form with a dynamically added new fields. 1
form_example_tutorial_9_add_name form_example/form_example_tutorial.inc Submit handler for "Add another name" button on form_example_tutorial_9(). 1
form_example_tutorial_9_remove_name form_example/form_example_tutorial.inc Submit handler for "Remove name" button on form_example_tutorial_9(). 1
form_example_tutorial_9_submit form_example/form_example_tutorial.inc Submit function for form_example_tutorial_9().
form_example_tutorial_9_validate form_example/form_example_tutorial.inc Validate function for form_example_tutorial_9().
form_example_wizard form_example/form_example_wizard.inc The primary formbuilder function for the wizard form. 1
form_example_wizard_location_info form_example/form_example_wizard.inc Returns form elements for the 'location info' page of the wizard. 1
form_example_wizard_location_info_validate form_example/form_example_wizard.inc Custom validation form for the 'location info' page of the wizard.
form_example_wizard_next_submit form_example/form_example_wizard.inc Submit handler for the 'next' button. 1
form_example_wizard_other_info form_example/form_example_wizard.inc Returns form elements for the 'other info' page of the wizard. 1
form_example_wizard_personal_info form_example/form_example_wizard.inc Returns form elements for the 'personal info' page of the wizard. 1
form_example_wizard_previous_submit form_example/form_example_wizard.inc Submit handler for the "previous" button. 1
form_example_wizard_submit form_example/form_example_wizard.inc Wizard form submit handler.
form_type_form_example_checkbox_value form_example/form_example_elements.inc Value callback for form_example_checkbox element type.
image_example_colorize_effect image_example/image_example.module Image effect callback; Colorize an image resource. 2
image_example_colorize_form image_example/image_example.module Form Builder; Configuration settings for colorize effect. 1
image_example_disable image_example/image_example.install Implements hook_disable().
image_example_enable image_example/image_example.install Implements hook_enable(). 1
image_example_help image_example/image_example.module Implements hook_help().
image_example_image_default_styles image_example/image_example.module Implements hook_image_default_styles().

Other projects