_defaults['enabled'] = 'y'; return parent::init(); } protected function _initElements() { parent::_initElements(); $this->getElement('password')->setRequired(); $this->getElement('confirmPassword')->setRequired(); $this->addElement('checkbox', 'enabled', array('label' => 'Enabled on user end', 'decoration' => 'simple')); return $this; } }