Pragmatism in the real world

David Papadogiannakis: HTML5 Zend Framework form elements

David Papadogiannakis has posted a new article on the new features for forms with HTML5 and how it applies to Zend Framework’s Zend_Form component.

HTML4 had a few different input elements that could be added to your form : text, password, hidden, checkboxes etc. HTML5 brings even more types that can be added to your <input> tag.

He then goes on to provide an override to Zend_Form_Element_Text showing how to use the new attributes with Zend_Form.