One assumes you have activated Auto loader otherwise you would need to include the source files.
I always use this form
PHP Code:
$form = new Zend_Form();
$form->setAction('edit')
->setMethod('post')
->setAttrib('class', 'dtTable');
$back = $form->createElement('hidden', 'back');
// Create and configure username element:
$username = $form->createElement('text', 'username');
$username->addValidator('stringLength', false, array(5, 20))
->setRequired(true)
->addFilter('StringToLower')
->setLabel('Username')
->addDecorator(new Form_Decorator_Label)
->setOrder(1);
long winded but easy to see whats going on. However, I am a novice.
