An example of how to use the new #states Form API element, allowing dynamic form behavior with very simple setup.

File

modules/examples/form_example/form_example_states.inc

Functions

Namesort descending Description
form_example_states_form States demo form.
form_example_states_form_submit Submit handler for form_example_states_form().