I'm having trouble creating hidden form elements with Zend_Form.
I am using this syntax:
class Form_Invoices_PaypalForward extends Zend_Form
{
public function init()
{
$custom = Zend_Form_Element_Hidden('custom');
}
}
However it is erroring out:
"Fatal error: Call to undefined function Zend_Form_Element_Hidden()"
Is there some different method that should be used for hidden elements?
Zend_Form_Element_XXXX() method works with any other form element for me.
--
View this message in context:
http://www.nabble.com/Creating-hidden-elements-tp20942849p20942849.html
Sent from the Zend Framework mailing list archive at Nabble.com.