AJAX Degradation Examples

These examples show AJAX with graceful degradation when Javascript is not available.

In each of these the key idea is that the form is rebuilt different ways depending on form input. In order to accomplish that, the formbuilder function is in charge of almost all logic.

See also

ajax

Functions & methods

NameDescription
ajax_example_dependent_dropdown_degradesA form with a dropdown whose options are dependent on a choice made in a previous dropdown.
ajax_example_wizardThis example is a classic wizard, where a different and sequential form is presented on each step of the form.

examples/ajax_example/ajax_example_graceful_degradation.inc, line 10