I have a Zend_Form called login.php in my zend project.
In controller I have
$request = $this->getRequest();
$request->setMethod('post')
->setPost(array(
'username' => 'admin',
'password' => '111111',
));
$this->dispatch('/en/auth/login');
$values = $form->getValues();
I wonder how can I get values from this form? $form->getValues() will return a array? and how to get the username and password form it?