got form validation working