Conditionally enables search button if  form data is valid