2009年5月6日星期三

Re: [fw-mvc] Zend_Form & Web-forms 2.0 | HTML5

I may be wrong, but Html5 is still in draft? If so, it makes sense
that it hasn't been integrated yet.

As to what the 'web-forms 2.0 enhancements' are concerned, there are
setAttrib() and setAttribs() methods available, which should do
exactly what you want.

Dolf

On 5/5/09, Remy Damour <remy.damour@laposte.net> wrote:
> Hi all,
>
> just a quick question, is it possible to configure forms to be rendered with
> web-forms 2.0 enhancements? (ie. for instance to automatically add
> 'required="required"' attribute or 'type="email"'...)
>
> I tried to set doctype to HTML5
> ($doctypeHelper->doctype('HTML5')), but nothing changed.
> If not implemented, does anybody know whether it is planned for integration?
>
> Regards, Remy
>
>

没有评论: