validated search form