form validation work in progress