formatting error message on forms pages