adding form validation exercise