showing form validation error message properly