AHAH API

Provides an application programming interface (API) for improved support of Drupal's AHAH functionality.

Parent topics

File

tripal_core/api/tripal_core_ahah.api.inc, line 10
The Tripal AJAX/AHAH API

Functions

Namesort descending Location Description
tripal_core_ahah_bind_events tripal_core/api/tripal_core_ahah.api.inc This function rebuilds the $settings array needed by the javascript that handles AHAH data returns. This function should be called in an AHAH callback function prior to returning.
tripal_core_ahah_form_element_disable_validation tripal_core/api/tripal_core_ahah.api.inc This function is a helperfunction of the tripal_core_ahah_prepare_form() function. It simply disables field validations for all fields (recursively) so that when the form is rebuilt it doesn't try to validate and submit the form.
tripal_core_ahah_init_form tripal_core/api/tripal_core_ahah.api.inc This function should be called to initialize the page for use of AHAH elements in a form.
tripal_core_ahah_prepare_form tripal_core/api/tripal_core_ahah.api.inc This function simply gets the posted form ID, builds the form and retrieves the specified element. This function should be called in an AHAH callback function to retrieve the form