Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.0.0

Request #17842 Support for HTML5 form input methods
Submitted: 2010-09-03 14:58 UTC Modified: 2011-03-27 07:07 UTC
From: nickcharsley Assigned:
Status: Open Package: HTML_QuickForm2 (version 0.4.0)
PHP Version: 5.3.3 OS: N/A
Roadmaps: (Not assigned)    
Subscription  


 [2010-09-03 14:58 UTC] nickcharsley (Nick Charsley)
Description: ------------ With the arrival of the new HTML5 input types it would be nice to see them appear as QuickForm2 Elements. search tel url email datetime date month week time datetime-local number range color

Comments

 [2011-03-27 06:43 UTC] doconnor (Daniel O'Connor)
 [2011-03-27 06:43 UTC] doconnor (Daniel O'Connor)
+1 to this; browser support is documented @ http://diveintohtml5.org/forms.html
 [2011-03-27 07:07 UTC] doconnor (Daniel O'Connor)
class HTML_QuickForm2_Element_InputText extends HTML_QuickForm2_Element_Input { protected $attributes = array('type' => 'text'); } class HTML_QuickForm2_Element_InputEmail extends HTML_QuickForm2_Element_Input { protected $attributes = array('type' => 'email'); } ... etc