Zend talk.I need to set an hidden form field as the value of an url parameter. I have:
class Form_Custom extends Zend_Form
{
public function init()
{
[..]
$id = new Zend_Form_Element_Hidden('name');
[..]
}
}
I know that I could pass it (from controller) inside an array of options while instantiating the class.But how could I tell the form to look for the URL parameter itself??
Thanks
Luca