$settings['ahah']); } /** * 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. * * See http://tripal.info/documentation/ahah_api for example usage * * @returns * nothing * * @ingroup tripal_ahah_api */ function tripal_core_ahah_form_element_disable_validation(&$form) { // --START code borrowed from ahah_helper module foreach (element_children($form) as $child) { $form[$child]['#validated'] = TRUE; tripal_core_ahah_form_element_disable_validation($form[$child]); } // --END code borrowed from ahah_helper module }