Reputation: 20977
I am dealing with Zend_Form
right now and I am having a difficult time figuring out how to:
I've read through the manual but am not seeing anything about this.
Upvotes: 2
Views: 884
Reputation: 4705
try to read also this article, I think it is the best one about decorators in Zend_Form
http://devzone.zend.com/article/3450-Decorators-with-Zend_Form
for your usage will be most helpful part about "Full Customization Using the ViewScript Decorator", try to find it in article
Upvotes: 3
Reputation: 156
Upvotes: 0
Reputation: 423
You can write straight up HTML in your view, just make sure that the element names, select options, hidden values etc. correspond to your Zend_Form elements (or set the element decorators to just ViewHelper and use echo $this->form->element
where the elements should be). It's just the same POST data anyway when you submit the form. If you're using the form in more than one place, check out the ViewScript decorator.
Upvotes: 0
Reputation:
I think Zend_Form_Decorators may help you: http://framework.zend.com/manual/en/zend.form.decorators.html
Upvotes: 3