function ajax_example_dependent_dropdown_degrades_first_callback

Selects just the second dropdown to be returned for re-rendering.

Return value

array Renderable array (the second dropdown).

Related topics

1 string reference to 'ajax_example_dependent_dropdown_degrades_first_callback'
ajax_example_dependent_dropdown_degrades in ajax_example/ajax_example_graceful_degradation.inc
Dropdown form based on previous choices.

File

ajax_example/ajax_example_graceful_degradation.inc, line 150

Code

function ajax_example_dependent_dropdown_degrades_first_callback($form, $form_state) {
    return $form['dropdown_second_fieldset']['dropdown_second'];
}