_getData('rowsLabel', $this->getFormDefaults('rowsLabel'))) { $form->headerWidth->setRequired(); $validators = $form->headerWidth->getValidators(); $notEmptyValidator = new Zend_Validate_NotEmpty(); $notEmptyValidator->zfBreakChainOnFailure = true; $notEmptyValidator->setMessage(self::ROWS_LABEL_WIDTH_REQUIRED, Zend_Validate_NotEmpty::IS_EMPTY); $form->headerWidth->setValidators(array('Zend_Validate_NotEmpty' => $notEmptyValidator) + $validators); } } }