Yes html5 is in draft, that's precisely why I was surprised to find doctype available in ZF.
Some parts of html5 have been approved => I hoped to find them implemented.
I will go for setAttrib() then.
Thx,
Remy
Remy
On Thu, May 7, 2009 at 3:56 AM, Dolf Schimmel <dolfschimmel@gmail.com> wrote:
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
>
>
没有评论:
发表评论