This is an old revision of the document!
This mod will change all of your email fields from type="text" to type="email" where necessary.
This will make it easier for people with iPads and mobile devices to type their email addresses into the field, and will gracefully degrade to type="text" in browsers that do not support HTML 5.
Line 369
replace
function zen_draw_input_field($name, $value = '', $parameters = '', $type = 'text', $reinsert_value = true) {
with
function zen_draw_input_field($name, $value = '', $parameters = '', $type = 'text', $reinsert_value = true) { if(strpos($name, 'email') !== False && $type == 'text') $type = 'email';