added error highlighting for inputs and labels