color isn't required
This commit is contained in:
parent
49cbee9db7
commit
edc7c03824
1 changed files with 2 additions and 6 deletions
|
@ -8,17 +8,13 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
|
||||||
// Add show background-color input
|
// Add show background-color input
|
||||||
$this->addElement('text', 'add_show_background_color', array(
|
$this->addElement('text', 'add_show_background_color', array(
|
||||||
'label' => 'Background Colour:',
|
'label' => 'Background Colour:',
|
||||||
'required' => true,
|
'filters' => array('StringTrim')
|
||||||
'filters' => array('StringTrim'),
|
|
||||||
'validators' => array('NotEmpty')
|
|
||||||
));
|
));
|
||||||
|
|
||||||
// Add show color input
|
// Add show color input
|
||||||
$this->addElement('text', 'add_show_color', array(
|
$this->addElement('text', 'add_show_color', array(
|
||||||
'label' => 'Text Colour',
|
'label' => 'Text Colour',
|
||||||
'required' => true,
|
'filters' => array('StringTrim')
|
||||||
'filters' => array('StringTrim'),
|
|
||||||
'validators' => array('NotEmpty')
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue