updated interface search type validation

-Changed interface to validate search type as soon as it's entered