Added a generic search function to all forms so that all forms have 2 or 3 search options customizable to that form.