getAttrib('mode') == self::MODE_SELECT_OTHER) { $this->setRegisterInArrayValidator(false); } return parent::isValid($value, $context); } public function setValue($value) { /** @var Qs_Form_Decorator_HtmlTag $htmlTag */ if (($htmlTag = $this->getDecorator('HtmlTag'))) { $htmlTag->toggleClass('other', null === $this->getMultiOption($value)); } return parent::setValue($value); } }