add error messages to form
edit error test