function ajax_process_form
Form element processing handler for the #ajax form property.
Parameters
$element: An associative array containing the properties of the element.
Return value
The processed element.
See also
Related topics
1 string reference to 'ajax_process_form'
- system_element_info in modules/
system/ system.module - Implements hook_element_info().
File
-
includes/
ajax.inc, line 644
Code
function ajax_process_form($element, &$form_state) {
$element = ajax_pre_render_element($element);
if (!empty($element['#ajax_processed'])) {
$form_state['cache'] = TRUE;
}
return $element;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.