search wrt input fields