Search form validation and results redirect