« Return to Thread: Include raw HTML into Zend_Form

Re: Include raw HTML into Zend_Form

by weierophinney :: Rate this Message:

Reply to Author | View in Thread

-- Gordon Ross <gr306@...> 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 Framework           | http://framework.zend.com/

 « Return to Thread: Include raw HTML into Zend_Form