change input type from text to email