$this->addRule('weight', ts('is a numeric field'), 'numeric');
// is required ?
- $this->add('checkbox', 'is_required', ts('Required?'));
+ $this->add('advcheckbox', 'is_required', ts('Required?'));
// checkbox / radio options per line
$this->add('text', 'options_per_line', ts('Options Per Line'));
$this->add('advcheckbox', 'is_active', ts('Active?'));
// is active ?
- $this->add('checkbox', 'is_view', ts('View Only?'));
+ $this->add('advcheckbox', 'is_view', ts('View Only?'));
// is searchable ?
- $this->addElement('checkbox',
+ $this->addElement('advcheckbox',
'is_searchable',
ts('Is this Field Searchable?'),
NULL, array('onclick' => "showSearchRange(this)")