Forms: Adding support for HTML5 inputs