Added validation to item search form