false, 'autocapitalize' => 'off', 'autocorrect' => 'off', 'type' => 'email' ); $vars = array_merge($defaults, $vars); echo elgg_format_element('input', $vars);