2009年3月5日星期四

Re: [fw-mvc] Zend Dojo Form Hidden Element

>> Anyone know how to do a hidden form element when using Zend_Dojo_Form?
>
>
> Have you tried:
> $element = new Zend_Form_Element_Hidden('name', ...);
> $element->setAttrib('type', 'hidden');
> ?

Yea, the input field still ends up as type "text" when the form renders.

I ran into some other errors suggesting that a view helper path is
missing and I wonder if this error relates. I'm trying to solve the
view helper issue as well, but any other ideas on this are much
appreciated.

-Ed

没有评论: