added error text and error sign to input