Ajax submit

Component ID

320377

Component name

Ajax submit

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

4698

Component created

Component changed

Component body

#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:

$form['#ajaxsubmit'] = TRUE;

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

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