Added highlighting of input fields when invalid values were entered.