Added red borders to invalid fields