26 $username = $this->addElement(
'text',
'username', array(
27 'filters' => array(
'StringTrim',
'StringToLower'),
28 'validators' => array(
30 array(
'StringLength',
false, array(3, 20)),
33 'label' =>
'Your username:',
36 $signup = $this->addElement(
'submit',
'signup', array(
45 $this->setDecorators(array(
47 array(
'HtmlTag', array(
'tag' =>
'dl',
'class' =>
'zend_form')),
48 array(
'Description', array(
'placement' =>
'prepend')),