adding form validation to the simple query