searchtags: check if there is any text in the fields before doing anything