Issue Type: Patch Created: 2010-10-16T08:29:28.000+0000 Last Updated: 2012-11-20T21:38:05.000+0000 Status: Open Fix version(s): Reporter: Andrius Putna (andrius.putna) Assignee: None Tags: - Zend_View
Related issues: Attachments:
Some of HTML5 features can be used today without worrying about browser support. One of these things is More info at http://diveintohtml5.org/forms.html
All I wanted to achieve is to have element The first thing came to my mind is to do like this:
$e = new Zend_Form_Element_Text('email'); $e->setAttrib('type', 'email');
Zend_View_Helper_FormText still renders it as May be a better way is to have all these new helpers Zend_View_Helper_FormEmail, Zend_View_Helper_FormDate, Zend_View_Helper_FormRange ... But lests consider the following patch for Zend_View_Helper_FormText:
--- . (revision 664) +++ . (working copy) @@ -71,7 +71,9 @@ $endTag= '>'; }
@@ -81,4 +83,29 @@
Posted by Simon (_sims_) on 2010-11-20T22:47:59.000+0000
I'd recommend not having any restraint until ZF has full support for HTML5.
Have you found an issue?
See the Overview section for more details.