add CSS classes to input rows when validation fails, and ensure that a CSS class attribute is already present
add row highlighting for invalid entries