From cbaf66202d8daaad50d3e7f5bf04315c3b8a0cca Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 12 Apr 2016 10:38:22 -0400 Subject: [PATCH] CRM-18393 - Fix checkboxes to actually work --- CRM/Custom/Form/Group.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Custom/Form/Group.php b/CRM/Custom/Form/Group.php index 547ca51fbd..a42fd73f8d 100644 --- a/CRM/Custom/Form/Group.php +++ b/CRM/Custom/Form/Group.php @@ -339,16 +339,16 @@ class CRM_Custom_Form_Group extends CRM_Core_Form { $this->add('select', 'style', ts('Display Style'), CRM_Core_SelectValues::customGroupStyle()); // is this set collapsed or expanded ? - $this->addElement('checkbox', 'collapse_display', ts('Collapse this set on initial display')); + $this->addElement('advcheckbox', 'collapse_display', ts('Collapse this set on initial display')); // is this set collapsed or expanded ? in advanced search - $this->addElement('checkbox', 'collapse_adv_display', ts('Collapse this set in Advanced Search')); + $this->addElement('advcheckbox', 'collapse_adv_display', ts('Collapse this set in Advanced Search')); // is this set active ? - $this->addElement('checkbox', 'is_active', ts('Is this Custom Data Set active?')); + $this->addElement('advcheckbox', 'is_active', ts('Is this Custom Data Set active?')); // does this set have multiple record? - $multiple = $this->addElement('checkbox', 'is_multiple', + $multiple = $this->addElement('advcheckbox', 'is_multiple', ts('Does this Custom Field Set allow multiple records?'), NULL); // $min_multiple = $this->add('text', 'min_multiple', ts('Minimum number of multiple records'), $attributes['min_multiple'] ); -- 2.25.1