function ajax_example_add_more_callback
Callback for both ajax-enabled buttons.
Selects and returns the fieldset with the names in it.
Related topics
1 string reference to 'ajax_example_add_more_callback'
- ajax_example_add_more in ajax_example/
ajax_example_graceful_degradation.inc - Form with 'add more' and 'remove' buttons.
File
-
ajax_example/
ajax_example_graceful_degradation.inc, line 627
Code
function ajax_example_add_more_callback($form, $form_state) {
return $form['names_fieldset'];
}