Final submit handler.
Reports what values were finally set.
Related topics
File
- ajax_example/
ajax_example_graceful_degradation.inc, line 658 - Demonstrations of AJAX with graceful degradation.
Code
function ajax_example_add_more_submit($form, &$form_state) {
$output = t('These people are coming to the picnic: @names', array(
'@names' => implode(', ', $form_state['values']['names_fieldset']['name']),
));
drupal_set_message($output);
}