+
+ // Tagsets are not selectable by definition so only include the selectable field if NOT a tagset.
+ $selectable = $this->add('checkbox', 'is_selectable', ts('Selectable?'));
+ // Selectable should be checked by default when creating a new tag
+ if ($this->_action == CRM_Core_Action::ADD) {
+ $selectable->setValue(1);
+ }
+