Hello, this works in my controller:
$this->_shippingRoute__FRM->populate(array(data));
print_r($this->_shippingRoute__FRM->getValues()); // works (all data
retrieved)
But inside the class :
class Default_Form_MyForm extends Zend_Form {
public function init()
{
print_r($this->getValues()); //doesn't work (all data is blank, i get
the name of fields but data is empty)
}
Any ideas?
Thanks
--
View this message in context:
http://n4.nabble.com/Zend-Form-get-populated-values-tp1752149p1752165.html
Sent from the Zend Framework mailing list archive at Nabble.com.