I get an error about not being able to open Zend/Dojo/Form/Element/Hidden.php
The element works if the form extends Zend_Form, but breaks when I
extend Zend_Dojo_Form.
I also tried creating a Zend_Dojo_Form_Element_TextBox and setting
setting the type attribute to hidden, but element was still rendered
as a type of text.
$element = new Zend_Dojo_Form_Element_TextBox();
$element->setAttrib('type', 'hidden');
$this->addElement($element);
Thanks,
Ed
没有评论:
发表评论