error messages added for each field