#D7CX: Ajaxsubmit will not be upgraded to Drupal 7 as the core AJAX support now supplies most or all of what is needed, and Ctools will do anything that's missing.

Enables form submission and validation via AJAX.

Prior to Drupal 6, Ajax submit was part of the Javascript tools package.

Only install if required by another module.

Also check out the ajax module, which offers a similar API as well as a UI for designating forms to have Ajax submit handling.

Developer usage:

<?php
$form
['#ajaxsubmit'] = TRUE;
?>

Developers can designate one or more custom callbacks to be called when
data are returned from an Ajax submit.

<?php
$form
['#ajaxsubmit_callbacks'] = array(
 
'Drupal.MyObject.myCallback',
);
?>

Project Information

Downloads