2008年8月19日星期二

Re: [fw-mvc] Include raw HTML into Zend_Form

-- Gordon Ross <gr306@ucs.cam.ac.uk> wrote
(on Monday, 18 August 2008, 02:20 PM +0100):
> Is it possible to include raw HTML into a Zend_Form ? I know you can append
> & prepend HTML to a tag, but I want to include a chunck of text (with a
> little HTML mark-up) in the middle of a form.
>
> What's the best way to do this ?

Something I've done is to create a custom decorator that inserts this
text, and then either have it append or prepend a given element. This is
quick-and-dirty, but gets the job done.

--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: