2008年8月19日星期二

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

If you want to include a "text" or "description" of an element in the middle
of a form, you can use the "description" property that all form elements
have. Theoretically, if an element has a description, this description will
be rendered (with default decorators) between the field and the errors
block.

Take a look to the Reference and API to know more.


On 18/08/2008 15:20, "Gordon Ross" <gr306@ucs.cam.ac.uk> wrote:

> 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 ?
>
> Thanks,
>
> GTG
>

没有评论: