From 8f878cd3da705839efa947c260b662a4da101988 Mon Sep 17 00:00:00 2001 From: yashodha Date: Tue, 12 Dec 2017 12:35:55 +0530 Subject: [PATCH] CRM-21540 - Add support for auto-complete fields in the batch entry forms --- CRM/Batch/Form/Entry.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index 9f32025154..d01046bb51 100644 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -146,7 +146,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { // remove file type field and then limit fields $suppressFields = FALSE; - $removehtmlTypes = array('File', 'Autocomplete-Select'); + $removehtmlTypes = array('File'); foreach ($this->_fields as $name => $field) { if ($cfID = CRM_Core_BAO_CustomField::getKeyID($name) && in_array($this->_fields[$name]['html_type'], $removehtmlTypes) @@ -270,7 +270,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { $buttonName = $this->controller->getButtonName('submit'); if ($suppressFields && $buttonName != '_qf_Entry_next') { - CRM_Core_Session::setStatus(ts("File or Autocomplete-Select type field(s) in the selected profile are not supported for Update multiple records."), ts('Some Fields Excluded'), 'info'); + CRM_Core_Session::setStatus(ts("File type field(s) in the selected profile are not supported for Update multiple records."), ts('Some Fields Excluded'), 'info'); } } -- 2.25.1