add error style to form message