hide error message for html5