updated search from

added function to pull attributes from the search bar from other pages.