ticket:5 added error message when form not valid