improve form validation with some basic feedback