diff --git a/sites/all/modules/contrib/ahah_helper/ahah_helper.module b/sites/all/modules/contrib/ahah_helper/ahah_helper.module index 9758990..0e8ca1e 100644 --- a/sites/all/modules/contrib/ahah_helper/ahah_helper.module +++ b/sites/all/modules/contrib/ahah_helper/ahah_helper.module @@ -291,6 +291,8 @@ function &_ahah_helper_get_form_item(&$form, $parents = FALSE) { function _ahah_helper_disable_validation(&$form) { foreach (element_children($form) as $child) { $form[$child]['#validated'] = TRUE; + if(isset($form[$child]['#required'])) + $form[$child]['#required'] = FALSE; _ahah_helper_disable_validation($form[$child]); } }