Error messages disappear when user starts typing in the text box
javascript selects #id_text instead of input tag