data is retained in text box and ErrorView class created