Ajax submit

nedjo - October 12, 2008 - 22:52

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',
);
?>

Releases

Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Feb-2010.03 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.