pass form validations back to front end
css for invalid fields